aboutsummaryrefslogtreecommitdiffstats
path: root/testing/motion/motion.confd
diff options
context:
space:
mode:
authorGP Orcullo <kinsamanka@gmail.com>2017-08-31 17:14:32 +0800
committerTimo Teräs <timo.teras@iki.fi>2017-09-06 07:10:38 +0000
commit66ff8434575d6f12b1d7ca893d22df1a55ff84e3 (patch)
tree1e7f38b1bbb17e594c24103ec0906b23dea2de15 /testing/motion/motion.confd
parent1e776e60847dfb253fc3e76286e40384ad9d8d96 (diff)
downloadaports-66ff8434575d6f12b1d7ca893d22df1a55ff84e3.tar.bz2
aports-66ff8434575d6f12b1d7ca893d22df1a55ff84e3.tar.xz
testing/motion: Updated to version 4.0.1 with ffmpeg
- updated to the latest release - re-enabled ffmpeg support - switched to openrc init - used /var/lib/motion for storage - disabled cpu optimization
Diffstat (limited to 'testing/motion/motion.confd')
-rw-r--r--testing/motion/motion.confd22
1 files changed, 7 insertions, 15 deletions
diff --git a/testing/motion/motion.confd b/testing/motion/motion.confd
index ff24e5c814..dfff31beb4 100644
--- a/testing/motion/motion.confd
+++ b/testing/motion/motion.confd
@@ -1,17 +1,9 @@
-# /etc/conf.d/motion
-## -c Full path and filename of config file. E.g. /home/kurt/motion.conf.
-## Default is /usr/local/etc unless specified differently when building
-## Motion. Many RPMs and debian packages will most likely use /etc or
-## /etc/motion as default.
-##
-## -n Run in non-daemon mode.
-##
-## -s Run in setup mode. Also forces non-daemon mode
-##
-## -d level Run in debug mode, level 1-9.
-##
-##
-## See the motion(1) manpage for more info.
+# Set the user and group under which motion will be run
+MOTION_USER="motion"
+MOTION_GROUP="video"
-MOTION_OPTS="-c /etc/motion/motion-dist.conf"
+# Set the the directory for storing the pidfile
+MOTION_RUN_DIR="/var/run/motion"
+# Set the the working directory for storing images/videos
+MOTION_LIB_DIR="/var/lib/motion"