]> lifelog.hopto.org Git - LifeLog.git/commitdiff
upd.
authorwbudic <redacted>
Wed, 11 Aug 2021 01:55:07 +0000 (11:55 +1000)
committerwbudic <redacted>
Wed, 11 Aug 2021 01:55:07 +0000 (11:55 +1000)
Installation_LightHTTPD.txt

index 1d587b5a032214132ca7b4d1a72fa681d9a2c2c2..fe8c4b76cb0459c7e19881abcc27c68e06a04120 100644 (file)
@@ -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