z2k_ @beehaw.org
Posts 0
Comments 4
Daily Discussion Thread 3 0
Season just finished recently so it’ll mostly be friendlies and pre-season coming up in a few months.
Reply
new Beehaw community icons! 8 0
Loving the new icons, it really adds to the beehaw community!
Reply
Systemd Service Keeps Failing, how can I have it start if status is failed? 1 0
Yes, you can get the full log with journalctl.
Reply
Systemd Service Keeps Failing, how can I have it start if status is failed? 6 0
To have it automatically restart on failure, you can add the following to your systemd unit:
[Service]
Restart=on-failure
RestartSec=5s
See this blog post for more information.
But to find the root cause of why it's failing, you can run systemctl status <service>
when it fails to get the most recent logs and hopefully an error as to why it failed.
Reply
Next