sharedscripts
postrotate
test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 1>/dev/null || true
test -e /run/systemd/system && systemctl restart lighttpd reload 1>/dev/null || true
test -e /run/systemd/system && systemctl reload lighttpd.service || true
endscript
}
[Service]
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target