Refactor config
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user