diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-17 15:45:24 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-17 15:45:24 +0200 |
commit | f4c9b8da6fae5718b01fa871083f7f72d27b0f96 (patch) | |
tree | 08e3ebd1794aac2eefb7219a50fddfd3832d1f51 /debian | |
parent | 7cf4d1d8fb174a95b149deded4d93c33d46409cb (diff) |
Restart webserver once a week for cert reloading
Diffstat (limited to 'debian')
-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 |