Tasks switch are configurable from envirnoment variables too.

This commit is contained in:
Jérémy Lecour 2019-08-23 12:05:22 +02:00 committed by Jérémy Lecour
parent 24481ca37e
commit 55e9c0dd63

View file

@ -37,8 +37,8 @@ PIDFILE="/var/run/evobackup.pid"
LOGFILE="/var/log/evobackup.log"
## Enable/Disable tasks
LOCAL_TASKS=1
SYNC_TASKS=1
LOCAL_TASKS=${LOCAL_TASKS:-1}
SYNC_TASKS=${SYNC_TASKS:-1}
##### SETUP AND FUNCTIONS #############################################