1
0
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:
andryyy 2017-10-03 12:07:48 +02:00
parent 68d7fa1504
commit c59d03fcb3

View File

@ -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