blob: 78346504f30dae5c93f702fc154c903c71fe900c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Webserver
After=network.target
[Service]
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
[Install]
WantedBy=multi-user.target
|