]> lifelog.hopto.org Git - LifeLog.git/commitdiff
init
authorwbudic <redacted>
Wed, 11 Aug 2021 01:32:56 +0000 (11:32 +1000)
committerwbudic <redacted>
Wed, 11 Aug 2021 01:32:56 +0000 (11:32 +1000)
LifeLogLighttpd.service [new file with mode: 0644]

diff --git a/LifeLogLighttpd.service b/LifeLogLighttpd.service
new file mode 100644 (file)
index 0000000..b51f27e
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=LifeLog Lighttpd Daemon
+After=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 /home/will/dev/LifeLog/lighttpd.conf
+ExecReload=/bin/kill -USR1 $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target