Skip to content

Commit

Permalink
Merge pull request caddyserver#1823 from klingtnet/systemd-restart-li…
Browse files Browse the repository at this point in the history
…mit-fix

Fix restart restart behaviour of the systemd service
  • Loading branch information
mholt authored Aug 13, 2017
2 parents 20fbc73 + 53ae9b8 commit 261547b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dist/init/linux-systemd/caddy.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

[Service]
Restart=on-failure
StartLimitInterval=86400
StartLimitBurst=5
Restart=on-abnormal

; User and group the process will run as.
User=www-data
Expand Down

0 comments on commit 261547b

Please sign in to comment.