From ff63e69343d865e9e4cb9dfb8d19dc23fe0d6021 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Mon, 24 Feb 2020 14:59:38 +1100 Subject: [PATCH] Updated. --- startDevWebServer.sh | 3 +-- stopDevWebServer.sh | 4 ++-- thttpd.conf | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) 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 -- 2.34.1