mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
[Watchdog] Skip when use_watchdog=n
This commit is contained in:
parent
68d7fa1504
commit
c59d03fcb3
@ -8,7 +8,7 @@ PARENT_PID=$$
|
||||
BACKGROUND_TASKS=()
|
||||
|
||||
if [[ "${USE_WATCHDOG}" =~ ^([nN][oO]|[nN])+$ ]]; then
|
||||
log_f "USE_WATCHDOG=n, skipping watchdog..."
|
||||
echo -e "$(date) - USE_WATCHDOG=n, skipping watchdog..."
|
||||
sleep 365d
|
||||
exec $(readlink -f "$0")
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user