From f714232854899b0b2252d23ec741ad872f1e08a6 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sat, 18 Dec 2021 07:03:02 -0800 Subject: [PATCH] Attempt to fix daemon startup 2 --- daemon | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daemon b/daemon index f63df0a..9efc0dc 100755 --- a/daemon +++ b/daemon @@ -5,13 +5,11 @@ gxg_root=`dirname "$the_path"` cd $gxg_root if [ "$1" == "start" ] then - touch "$gxg_root/System/Temporary/server.tty" - /bin/stty --file="$gxg_root/System/Temporary/server.tty" + /bin/stty --file=/dev/pts/0 sudo -u www-data ./server start --quiet fi if [ "$1" == "stop" ] then sudo -u www-data ./server stop - /bin/rm -rf "$gxg_root/System/Temporary/server.tty" fi exit 0