| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/comms/direwolf/files/ |
Upload File : |
--- scripts/dw-start.sh.orig 2022-01-28 14:55:02 UTC
+++ scripts/dw-start.sh
@@ -68,9 +68,9 @@ DWCMD="$DIREWOLF -a 100"
#Where will logs go - needs to be writable by non-root users
-LOGFILE=/var/tmp/dw-start.log
+#LOGFILE=/var/tmp/dw-start.log
+LOGFILE=/var/var/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