summaryrefslogtreecommitdiff
path: root/reolink/reolink.conf
diff options
context:
space:
mode:
authorJon duSaint2022-07-16 12:41:33 -0700
committerJon duSaint2022-07-16 12:41:33 -0700
commitbe51f4741bf46b1ec53065a7c84d0af750aad8fe (patch)
treedec96c78af076cff6fbe42f430503c0433f9f669 /reolink/reolink.conf
parente6f7ef9c5f537a9f580463967be789d3ccb1aa52 (diff)

reolink: Add man pages and example configuration

Diffstat (limited to '')
-rw-r--r--reolink/reolink.conf18
-rw-r--r--reolink/reolink.conf.540
2 files changed, 58 insertions, 0 deletions
diff --git a/reolink/reolink.conf b/reolink/reolink.conf
new file mode 100644
index 0000000..285c9ab
--- /dev/null
+++ b/reolink/reolink.conf
@@ -0,0 +1,18 @@
+# Example configuration for the reolink time-lapse daemon
+#
+# See reolink.conf(5) and reolink(8) for more information.
+
+# How often to take a snapshot
+interval: 30
+
+# Where to store snapshots and videos
+spool_dir: /var/spool/reolink
+
+# chroot to this directory after startup
+# chroot: /
+
+# IP address of camera
+reolink_ip: 192.168.127.10
+
+# Start and end time of time-lapse video
+video: 0530-2130
diff --git a/reolink/reolink.conf.5 b/reolink/reolink.conf.5
new file mode 100644
index 0000000..cdc84e7
--- /dev/null
+++ b/reolink/reolink.conf.5
@@ -0,0 +1,40 @@
+.\" Copyright (c) 2022 Jonathan duSaint <jon@rockgeeks.net>
+.Dd $Mdocdate: July 15 2022 $
+.Dt REOLINK.CONF 5
+.Os
+.Sh NAME
+.Nm reolink.conf
+.Nd Reolink daemon configuration file
+.Sh DESCRIPTION
+.Nm
+is the configuration for the reolink daemon,
+.Xr reolink 8 .
+Leading whitespace on lines, blank lines, and lines starting with
+.Sq # ,
+are ignored.
+Directives are separated by
+.Sq \&: ,
+or
+.Sq = ,
+Unknown directives are ignored. Known directives are:
+.Bl -column "reolink_ip"
+.It Sy Name Ta Sy Description
+.It interval Ta
+How often to take a snapshot
+.It spool_dir Ta
+Where to store snapshots and videos
+.It chroot Ta
+.Xr chroot 2 .
+to this directory after startup
+.It reolink_ip Ta
+IP address of camera
+.It video Ta
+Start and end time of time-lapse video
+.El
+.Sh FILES
+.Bl -tag -width XXXXXXXXXXXXXXXXXX
+.It Pa /etc/reolink.conf
+System reolink configuration file
+.El
+.Sh SEE ALSO
+.Xr reolink 8