diff --git a/gohookr.service b/gohookr.service index bf831a8..e7636c2 100644 --- a/gohookr.service +++ b/gohookr.service @@ -3,6 +3,8 @@ Description=A really simple webhook receiver. After=network.target [Service] +Restart=on-failure +RestartSec=5s ExecStart=/usr/local/bin/gohookr [Install]