From 48a8e66f47473b2c7208d7a03725a8871341ab66 Mon Sep 17 00:00:00 2001 From: Malte Moeller Date: Mon, 9 Dec 2019 21:40:04 +0100 Subject: [PATCH] Log Pfad angepasst Pfad zeigte noch auf den alten Speicherort des Skriptes. Der neue Pfad existierte nicht, somit wurde keine Logs erzeugt. --- .../files/lib/gluon/eulenfunk-hotfix/healthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eulenfunk-hotfix/files/lib/gluon/eulenfunk-hotfix/healthcheck.sh b/eulenfunk-hotfix/files/lib/gluon/eulenfunk-hotfix/healthcheck.sh index 4d6c5aa..c82be13 100755 --- a/eulenfunk-hotfix/files/lib/gluon/eulenfunk-hotfix/healthcheck.sh +++ b/eulenfunk-hotfix/files/lib/gluon/eulenfunk-hotfix/healthcheck.sh @@ -14,7 +14,7 @@ now_reboot() { # second optional -f to force reboot even if autoupdater is running logger -s -t "gluon-healthcheck" -p 5 "rebooting... reason: $1" if [ "$(sed 's/\..*//g' /proc/uptime)" -gt "3600" ] ; then - LOG=/lib/gluon/healthcheck/reboot.log + LOG=/lib/gluon/eulenfunk-hotfix/reboot.log # the first 5 times log the reason for a reboot in a file that is rebootsave [ "$(wc -l < $LOG)" -gt 5 ] || echo "$(date) $1" >> $LOG if [ "$2" != "-f" ] && [ -f /tmp/autoupdate.lock ] ; then