diff options
author | Simon Rettberg | 2015-10-27 11:15:47 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-10-27 11:15:47 +0100 |
commit | 385d3419126aebe5746a7dbc05538cef1db8c09a (patch) | |
tree | 51e872851326142510899cfa8de8efe5c863631e /scripts | |
parent | [dozmod-upgrade] Disable email notifications by default, will be enabled when... (diff) | |
download | tmlite-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-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" & |