summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files/lighttpd.service-r1
blob: 2a8f22474eea3b1c6d2b42bb335d0d52e3412cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Lighttpd Daemon
After=syslog.target network-online.target

[Service]
Type=simple
PIDFile=/run/lighttpd.pid
ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure

[Install]
WantedBy=multi-user.target