From: wbudic Date: Wed, 11 Aug 2021 01:32:56 +0000 (+1000) Subject: init X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=98a2d80a5b196033b0f75d8b97cb05c6e4a9108e;p=LifeLog.git init --- diff --git a/LifeLogLighttpd.service b/LifeLogLighttpd.service new file mode 100644 index 0000000..b51f27e --- /dev/null +++ b/LifeLogLighttpd.service @@ -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