show nginx systemd logs (#2220)

This is important, normally nginx fails and this is not shown.
This commit is contained in:
nyxnor
2021-04-23 22:20:53 +00:00
committed by GitHub
parent 87e297a3cf
commit baeb34d970

View File

@@ -71,6 +71,10 @@ echo "sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log"
sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log
echo ""
echo "*** NGINX SYSTEMD STATUS ***"
sudo systemctl status nginx -n2 --no-pager
echo ""
echo "*** LAST NGINX LOGS ***"
echo "sudo journalctl -u nginx -b --no-pager -n20"
sudo journalctl -u nginx -b --no-pager -n20