Skip to content

Commit 4b2bb47

Browse files
authored
Merge pull request #25 from QuLogic/webhook-restart
Restart webhook service on failure
2 parents 6c83f7c + bdeaafb commit 4b2bb47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: webhook/webhook.service

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ User=caddy
1111
Group=caddy
1212
ExecStart=/usr/bin/python3 /usr/bin/webhook.py localhost:1234
1313
EnvironmentFile=/etc/caddy/webhook.env
14+
Restart=on-failure
1415
TimeoutStopSec=5s
1516
LimitNOFILE=1048576
1617
LimitNPROC=512

0 commit comments

Comments
 (0)