From e4586d5a07a4287276be855949d18c8533b8907b Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 19 Jun 2011 17:40:36 +0200 Subject: [PATCH] launching script now read config files added ./sat.conf in possible config file location --- src/sat.sh | 27 +++++++++++++++++++-------- src/tools/memory.py | 2 +- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/sat.sh b/src/sat.sh index 51601b9f..1d30ed0a 100755 --- a/src/sat.sh +++ b/src/sat.sh @@ -16,14 +16,25 @@ fi NAME='sat' -if [ -n "$SAT_CONST_local_dir" ];then - echo "Using overidded local dir: $SAT_CONST_local_dir" - PID_FILE="$SAT_CONST_local_dir/$NAME.pid" - LOG_FILE="$SAT_CONST_local_dir/$NAME.log" -else - PID_FILE="/tmp/$NAME.pid" - LOG_FILE=~/".$NAME/$NAME.log" -fi +#We use python to parse config files +eval `python<