blob: 09d1c84ed36202ee5c111402cd8ef73ae46cf2ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- scripts/dw-start.sh.orig 2022-01-28 14:55:02 UTC
+++ scripts/dw-start.sh
@@ -68,9 +68,8 @@ DWCMD="$DIREWOLF -a 100"
#Where will logs go - needs to be writable by non-root users
-LOGFILE=/var/tmp/dw-start.log
+LOGFILE=/var/log/dw-start.log
-
#-------------------------------------
# Main functions of the script
#-------------------------------------
@@ -157,7 +157,7 @@ function GUI {
# When running from cron, we have a very minimal environment
# including PATH=/usr/bin:/bin.
#
-export PATH=/usr/local/bin:$PATH
+export PATH=%%PREFIX%%/bin:$PATH
#Log the start of the script run and re-run
date >> $LOGFILE
|