Skip to content

Commit

Permalink
Merge pull request #25 from QuLogic/webhook-restart
Browse files Browse the repository at this point in the history
Restart webhook service on failure
  • Loading branch information
tacaswell authored Aug 26, 2022
2 parents 6c83f7c + bdeaafb commit 4b2bb47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webhook/webhook.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ User=caddy
Group=caddy
ExecStart=/usr/bin/python3 /usr/bin/webhook.py localhost:1234
EnvironmentFile=/etc/caddy/webhook.env
Restart=on-failure
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
Expand Down

0 comments on commit 4b2bb47

Please sign in to comment.