aboutsummaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
authorJoel Kronqvist <joelkronqvist@proton.me>2023-06-21 12:30:58 +0300
committerJoel Kronqvist <joelkronqvist@proton.me>2023-06-21 12:30:58 +0300
commit9760c6242572f6ed17890b84ec3d14fa414b7579 (patch)
tree710049705e74f5ecbc2b79ffa21eabe637f2b5ec /init.sh
parent5f74d40fa736745651514853afdca3ed44e5ae74 (diff)
downloadLYLLRuoka-9760c6242572f6ed17890b84ec3d14fa414b7579.tar.gz
LYLLRuoka-9760c6242572f6ed17890b84ec3d14fa414b7579.zip
Some patches made in production :facepalm:
At least some of them have to do with running updations timely?
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.sh b/init.sh
index 5fb171f..3a85f04 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,6 @@ 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 "--------"
done