From 2d25d622146885865618c67f70c0e3d72bc68f7b Mon Sep 17 00:00:00 2001 From: Julien Lamarche Date: Tue, 18 Oct 2016 15:41:50 -0400 Subject: [PATCH] fixed display and logging --- main.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.bash b/main.bash index 8f581b8..9e6ae8a 100755 --- a/main.bash +++ b/main.bash @@ -74,7 +74,7 @@ trap "rm -f $pidfile" INT QUIT TERM ERR #Capture everything to log mkdir -p ~/log -log=~/log/$__base-${ts}.log +log=~/log/dumuzid-${ts}.log exec > >(tee -a $log) exec 2> >(tee -a $log >&2) touch $log @@ -87,7 +87,7 @@ if [[ ! -f "$configFile" ]] ; then exit 1 fi -export DISPLAY=:0 +export DISPLAY=`cat ~/dumuzid/main.bash` echo Begin `date` .....