diff --git a/dl-server/transmission-vpn.sh b/dl-server/transmission-vpn.sh index 7ffe722..a8c2c3e 100755 --- a/dl-server/transmission-vpn.sh +++ b/dl-server/transmission-vpn.sh @@ -9,6 +9,7 @@ # We can enter an infinite loop, but this will effectively prevent transmission from connecting # If both services are stopped, this script will never be run by error +run_directory=$(dirname "$0") source "$run_directory/variables.conf" # Parameters