]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Updated.
authorWill Budic <redacted>
Mon, 24 Feb 2020 03:59:38 +0000 (14:59 +1100)
committerWill Budic <redacted>
Mon, 24 Feb 2020 03:59:38 +0000 (14:59 +1100)
startDevWebServer.sh
stopDevWebServer.sh
thttpd.conf

index 1c36d8e8c60a0c32e9b964d7865448d820b3b5fe..1136e658238a60e8347e623ad76dee894b776155 100755 (executable)
@@ -6,5 +6,4 @@ if [ ! -d "$DIR/log" ]; then
     mkdir "$DIR/log"
 fi
 cd $DIR
-cd /home/will/dev/LifeLog
-thttpd -C thttpd.conf &
+thttpd -C ./thttpd.conf &
index 8058e2273db0748364e107ea815c1e4c6c8c4892..25e7848c3dd85e4c97071195ffe24c7b98c3a951 100755 (executable)
@@ -1,3 +1,3 @@
-#!/bin/bash                                                                                        
-kill -9 $(./htdocs/thttpd.pid)
+#!/bin/bash
+sudo kill -9 $(./log/thttpd.pid)
 
index f8a51e6a2ea7a4a1d8cabad385eca2b6e14295b4..9da64ec8b36a62fa45c23100dee0e6eda5c8f0a9 100644 (file)
@@ -1,8 +1,8 @@
 # This section overrides defaults
 dir=./htdocs
 user=will
-logfile=/home/will/dev/LifeLog/log/thttpd.log
-pidfile=thttpd.pid
+logfile=./log/thttpd.log
+pidfile=./log/thttpd.pid
 # This section _documents_ defaults in effect
 port=8080
 nosymlinkcheck # default = !chroot