summaryrefslogtreecommitdiff
path: root/debian/sync-httpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sync-httpd.service')
-rw-r--r--debian/sync-httpd.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/sync-httpd.service b/debian/sync-httpd.service
index 2c97c37..4138027 100644
--- a/debian/sync-httpd.service
+++ b/debian/sync-httpd.service
@@ -4,7 +4,9 @@ Description=Sync backup backend
[Service]
User=sync-httpd
Type=simple
-Restart=on-failure
+Restart=always
+RestartSec=1s
+RuntimeMaxSec=3600s
ExecStart=/usr/bin/sync-httpd -c /etc/sync/sync.conf
[Install]