From 0f2d56eafd01b5e728f96cf327f1a3e881a21225 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Nov 2022 13:07:11 +0200 Subject: Hid vegetarian food when it is the same as the normal food. Added date logging to init.sh. --- init.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'init.sh') diff --git a/init.sh b/init.sh index 5fb171f..fb5d611 100755 --- a/init.sh +++ b/init.sh @@ -2,7 +2,7 @@ exec 1>>/var/slogs exec 2>>/var/slogs echo "" -echo "# Init running" +echo "# Init running at $(date)" echo "# Waiting for connection..." while ! ping 'example.org' -c 1; do @@ -26,6 +26,8 @@ while echo "# node server.js:"; do # Sleep below, so that the loop can't cause too big a load to the server, if the server terminates very fast. sleep 5 - echo "SERVER TERMINATED!" + echo "# Server terminated at $(date)" echo "--------" + echo "" + echo "" done -- cgit v1.2.3