Set scripts to new run_directory norm
This commit is contained in:
parent
6605419db7
commit
50ab3d77e6
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
run_directory=$(dirname "$0")
|
run_directory=$(dirname $(readlink -f "$0"))
|
||||||
|
|
||||||
source "$run_directory/variables.conf"
|
source "$run_directory/variables.conf"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# We can enter an infinite loop, but this will effectively prevent transmission from connecting
|
# 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
|
# If both services are stopped, this script will never be run by error
|
||||||
|
|
||||||
run_directory=$(dirname "$0")
|
run_directory=$(dirname $(readlink -f "$0"))
|
||||||
source "$run_directory/variables.conf"
|
source "$run_directory/variables.conf"
|
||||||
|
|
||||||
# Parameters
|
# Parameters
|
||||||
|
Reference in New Issue
Block a user