From: Will Budic Date: Mon, 24 Feb 2020 03:59:38 +0000 (+1100) Subject: Updated. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=ff63e69343d865e9e4cb9dfb8d19dc23fe0d6021;p=LifeLog.git Updated. --- diff --git a/startDevWebServer.sh b/startDevWebServer.sh index 1c36d8e..1136e65 100755 --- a/startDevWebServer.sh +++ b/startDevWebServer.sh @@ -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 & diff --git a/stopDevWebServer.sh b/stopDevWebServer.sh index 8058e22..25e7848 100755 --- a/stopDevWebServer.sh +++ b/stopDevWebServer.sh @@ -1,3 +1,3 @@ -#!/bin/bash -kill -9 $(./htdocs/thttpd.pid) +#!/bin/bash +sudo kill -9 $(./log/thttpd.pid) diff --git a/thttpd.conf b/thttpd.conf index f8a51e6..9da64ec 100644 --- a/thttpd.conf +++ b/thttpd.conf @@ -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