Refactor config

This commit is contained in:
dwrz
2022-10-28 17:17:00 +00:00
parent 9e27e6081f
commit 442d424e3b
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ timelapse_filename /timelapse/%Y-%m-%d-%H-%M-%S
# WEBCONTROL # WEBCONTROL
webcontrol_auth_method 2 webcontrol_auth_method 2
webcontrol_authentication ${USER}:${PASS} webcontrol_authentication ${MOTION_USER}:${MOTION_PASSWORD}
webcontrol_port 8080 webcontrol_port 8080
webcontrol_localhost off webcontrol_localhost off
webcontrol_cert /etc/letsencrypt/live/${DOMAIN}/fullchain.pem webcontrol_cert /etc/letsencrypt/live/${DOMAIN}/fullchain.pem
@@ -47,7 +47,7 @@ stream_quality 25
stream_motion on stream_motion on
stream_maxrate 24 stream_maxrate 24
stream_auth_method 2 stream_auth_method 2
stream_authentication ${USER}:${PASS} stream_authentication ${MOTION_USER}:${MOTION_PASSWORD}
stream_preview_method 0 stream_preview_method 0
stream_tls on stream_tls on
+7 -7
View File
@@ -4,11 +4,11 @@ tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log logfile ~/.msmtp.log
account gmail account default
host smtp.gmail.com host ${EMAIL_HOST}
port 587 port ${EMAIL_PORT}
from user@example.com from ${EMAIL_USER}
user user@example.com user ${EMAIL_USER}
password app-password password ${EMAIL_PASSWORD}
account default : gmail account default : default
+1 -1
View File
@@ -1,3 +1,3 @@
set sendmail="/usr/bin/msmtp" set sendmail="/usr/bin/msmtp"
set use_from=yes set use_from=yes
set from=user@example.com set from=${EMAIL_USER}