vigil

Security camera system built on motion and yolov7.
Log | Files | Refs

commit b895528fbaa3defd60b0690f446fa0af2c1532cf
parent bbbe6b9ecfc4fd90f096ce546499be0d475a99d1
Author: dwrz <dwrz@dwrz.net>
Date:   Wed,  1 Feb 2023 19:51:18 +0000

Refactor motion config

Diffstat:
Mconfig/motion.conf | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/config/motion.conf b/config/motion.conf @@ -1,7 +1,7 @@ # GENERAL daemon off -target_dir /var/lib/motion -log_file /var/log/motion/motion.log +target_dir ${MOTION_DIR} +log_file ${MOTION_LOG_FILE} # IMAGE PROCESSING despeckle_filter EedDl @@ -33,15 +33,15 @@ timelapse_filename /timelapse/%Y-%m-%d-%H-%M-%S # WEBCONTROL webcontrol_auth_method 2 webcontrol_authentication ${MOTION_USER}:${MOTION_PASSWORD} -webcontrol_port 8080 +webcontrol_port ${WEBCONTROL_PORT} webcontrol_localhost off -webcontrol_cert /etc/letsencrypt/live/${DOMAIN}/fullchain.pem -webcontrol_key /etc/letsencrypt/live/${DOMAIN}/privkey.pem +webcontrol_cert ${TLS_CERT} +webcontrol_key ${TLS_KEY} webcontrol_parms 0 webcontrol_tls on # LIVE STREAM -stream_port 3000 +stream_port ${STREAM_PORT} stream_localhost off stream_quality 25 stream_motion on @@ -52,9 +52,9 @@ stream_preview_method 0 stream_tls on # SCRIPTS -on_motion_detected /var/lib/motion/alert -on_movie_end /var/lib/motion/sync %f -on_picture_save /var/lib/motion/notify %f +on_motion_detected ${MOTION_DIR}/alert +on_movie_end ${MOTION_DIR}/sync %f +on_picture_save ${MOTION_DIR}/notify %f # CAMERA camera_name ${CAMERA_NAME}