Browse Source

init systemd restart logs

master
Christian Rotzoll 6 years ago
parent
commit
f3a7cd0fc9
  1. 6
      home.admin/_bootstrap.sh

6
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 ***"

Loading…
Cancel
Save