From: wbudic Date: Wed, 11 Aug 2021 01:55:07 +0000 (+1000) Subject: upd. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=7350a33d50c99530f926c47493e28c7b0a5810fc;p=LifeLog.git upd. --- diff --git a/Installation_LightHTTPD.txt b/Installation_LightHTTPD.txt index 1d587b5..fe8c4b7 100644 --- a/Installation_LightHTTPD.txt +++ b/Installation_LightHTTPD.txt @@ -61,8 +61,13 @@ accesslog.filename = “/var/log/lighttpd/elite.net.access.log” /usr/sbin/lighttpd -D -f ~/dev/LifeLog/lighttpd.conf -## Run as service , def is: lighttpd -D -f /etc/lighttpd/lighttpd.conf +## Run as service, we don't want default: lighttpd -D -f /etc/lighttpd/lighttpd.conf sudo systemctl start lighttpd -D -f /home/will/dev/LifeLog/lighttpd.conf sudo systemctl enable lighttpd -sudo systemctl status lighttpd \ No newline at end of file +sudo systemctl status lighttpd + +## Optional Enable as separate service, so it runs always, after reboot too. +sudo systemctl link /home/will/dev/LifeLog/LifeLogLighttpd.service +sudo systemctl enable LifeLogLighttpd +sudo systemctl start LifeLogLighttpd \ No newline at end of file