Hacker News new | ask | show | jobs
by mrsareen 2010 days ago
There is a automatic restart option in systemctl that solves this exact issue -

[Service] Restart=on-failure RestartSec=5s

1 comments

Thank you very much!