summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-27 11:15:47 +0100
committerSimon Rettberg2015-10-27 11:15:47 +0100
commit385d3419126aebe5746a7dbc05538cef1db8c09a (patch)
tree51e872851326142510899cfa8de8efe5c863631e /scripts
parent[dozmod-upgrade] Disable email notifications by default, will be enabled when... (diff)
downloadtmlite-bwlp-385d3419126aebe5746a7dbc05538cef1db8c09a.tar.gz
tmlite-bwlp-385d3419126aebe5746a7dbc05538cef1db8c09a.tar.xz
tmlite-bwlp-385d3419126aebe5746a7dbc05538cef1db8c09a.zip
[ldadp-launcher] Move logs to /var/log/ldadp
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ldadp-launcher4
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" &