Explorar el Código

[Watchdog] Skip when use_watchdog=n

andryyy hace 8 años
padre
commit
c59d03fcb3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data/Dockerfiles/watchdog/watchdog.sh

+ 1 - 1
data/Dockerfiles/watchdog/watchdog.sh

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