Update service file to restart on app crash

This commit is contained in:
Akbar Rahman 2021-07-29 09:46:33 +01:00
parent b31f8496fc
commit 294bd80cc7

View File

@ -3,6 +3,8 @@ Description=A really simple webhook receiver.
After=network.target After=network.target
[Service] [Service]
Restart=on-failure
RestartSec=5s
ExecStart=/usr/local/bin/gohookr ExecStart=/usr/local/bin/gohookr
[Install] [Install]