From f3a7cd0fc9d8eb98a6a63680f12090c19832db74 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Tue, 23 Apr 2019 16:22:42 +0200 Subject: [PATCH] init systemd restart logs --- home.admin/_bootstrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 078fd6a..0a47f67 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -64,6 +64,12 @@ if [ "${setupStep}" != "100" ]; then fi sudo chmod 777 ${infoFile} +# resetting start count files +echo "SYSTEMD RESTART LOG: blockchain (bitcoind/litecoind)" > /home/admin/blockchain.systemd.log +echo "SYSTEMD RESTART LOG: lightning (LND)" > /home/admin/lightning.systemd.log +sudo chmod 777 /home/admin/blockchain.systemd.log +sudo chmod 777 /home/admin/lightning.systemd.log + # Emergency cleaning logs when over 1GB (to prevent SD card filling up) # see https://github.com/rootzoll/raspiblitz/issues/418#issuecomment-472180944 echo "*** Checking Log Size ***"