From 3c1939f431498f3576ca3f41bfa9bbc6f2792e3e Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Wed, 25 Aug 2021 15:25:57 +0200 Subject: [PATCH] Caddy: Restart on failure instead of abnormal only --- templates/caddy.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/caddy.service b/templates/caddy.service index c4c4984..a0ac8bb 100644 --- a/templates/caddy.service +++ b/templates/caddy.service @@ -4,7 +4,7 @@ Documentation=https://caddyserver.com/docs After=network.target [Service] -Restart=on-abnormal +Restart=on-failure User=www-data Group=www-data