diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ldadp-launcher | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ldadp-launcher b/scripts/ldadp-launcher index 2bd8b90..df5dd95 100755 --- a/scripts/ldadp-launcher +++ b/scripts/ldadp-launcher @@ -42,8 +42,8 @@ launch () { return 1 fi echo "Launching #$1" - local LOGFILE="${BASE}/logs/${1}.log" - if [ ! -w "${BASE}/logs" ] || [ -e "$LOGFILE" -a ! -w "$LOGFILE" ]; then + local LOGFILE="/var/log/ldadp/${1}.log" + if [ ! -w "/var/log/ldadp" ] || [ -e "$LOGFILE" -a ! -w "$LOGFILE" ]; then LOGFILE="/dev/null" fi "${BASE}/ldadp" -n "$CONFIG" > "$LOGFILE" & |