summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/doc/systemd/lighttpd.service
blob: b59bdcd7854e8f0b13124fdf48cd35393745873c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Lighttpd Daemon
After=network-online.target

[Service]
Type=simple
PIDFile=/var/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