]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Service enabled and instructions updated.
authorwbudic <redacted>
Thu, 7 Mar 2019 21:46:52 +0000 (08:46 +1100)
committerwbudic <redacted>
Thu, 7 Mar 2019 21:46:52 +0000 (08:46 +1100)
Installation.txt
startDevWebServer.sh

index 868079c52e989451f9b05f43085227628fcfd38d..fbfc10f31784ea468539102b7d081de535f3efed 100644 (file)
@@ -89,3 +89,22 @@ Note exporting/importing of other tables is similar, but not recommended.
 
 #Current Latest Development Branch
 git fetch && git checkout dev.1.3
+
+
+#Install thttpd_dev as an Linux System Service
+Not recommended, but the thttpd development environment for LifeLog
+can be installed to start on reboot.
+
+sudo cp startDevWebServer.sh  /etc/init.d/
+
+Modify the following to the path of your development environment 
+where thttpd.conf file is in /etc/init.d/startDevWebServer.sh
+
+Modify line -> cd /home/will/thttpd_dev
+vim /etc/init.d/startDevWebServer.sh
+
+Install as service with:
+sudo update-rc.d startDevWebServer.sh defaults
+
+
+
index 411b1db3c2bfe3ef36d7ae66218747600c665dc7..7a20870ed9bec717d4595058de47ff30f2611496 100755 (executable)
@@ -1,4 +1,5 @@
-
+#!/bin/bash                                                                                        
 export DB_USER="db"
 export DB_PASS="db_pass"
+cd /home/will/thttpd_dev
 thttpd -C thttpd.conf&