First WIP of rework to lighttpd

This commit is contained in:
Zach Brown
2024-04-07 01:46:29 +00:00
parent 22cd4be6c8
commit 05c387d539
9 changed files with 116 additions and 10 deletions

14
lighttpd/lighttpd.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=Lighttpd Daemon
After=network.target
[Service]
Type=simple
PIDFile=/opt/var/run/lighttpd.pid
ExecStartPre=/opt/sbin/lighttpd -tt -f /usrdata/lighttpd/lighttpd.conf
ExecStart=/opt/sbin/lighttpd -D -f /usrdata/lighttpd/lighttpd.conf
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target