aboutsummarylogtreecommitdiffstats
path: root/motion.confd
diff options
context:
space:
mode:
authornochecksum2015-12-14 12:57:33 +0000
committernochecksum2015-12-14 12:57:33 +0000
commit6d0f965c0277c0fd45afc3d14b6955c6f4168500 (patch)
treef0395f2011cf1c841a7fcb17728203bd72da4669 /motion.confd
downloadaur-motion-openrc.tar.gz
Initial commit
Diffstat (limited to 'motion.confd')
-rwxr-xr-xmotion.confd23
1 files changed, 23 insertions, 0 deletions
diff --git a/motion.confd b/motion.confd
new file mode 100755
index 000000000000..a67191ac1d10
--- /dev/null
+++ b/motion.confd
@@ -0,0 +1,23 @@
+#!/usr/bin/openrc-run
+# Apache License 2015
+
+# What user and group should Motion run as?
+# It is recommended you create a 'motion' user, give it
+# necessary permissions for PID file and output, then
+# apply those settings here
+user="root"
+group="root"
+
+# Where is the Motion executable installed?
+daemon="/usr/bin/motion"
+
+# Where does Motion keep the configuration file(s)?
+conf="/etc/motion/motion.conf"
+
+# How long should we wait for Gogs itself to start?
+# Expects a number (in milliseconds)
+# Default 500
+startwait=500
+
+# Motion manages its own PID file - see the motion.conf
+# file for PID file location etc