diff options
-rw-r--r-- | debian/webserver.service | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/webserver.service b/debian/webserver.service index 511bd6d..7834650 100644 --- a/debian/webserver.service +++ b/debian/webserver.service @@ -7,6 +7,10 @@ Type=simple # Restart=always ExecStart=/usr/bin/webserver -c /etc/webserver.conf +# Restart once a week, maybe certificates have changed +Restart=always +RuntimeMaxSec=604800 + # webserver will lower privileges to www-data:www-data #User=www-data #Group=www-data |