Browse Source
Fixed: If using full path to script lock file was not being detected in monitor causing the monitor to not work. This broke automatic monitoring.pull/128/head
20 changed files with 39 additions and 38 deletions
@ -3,7 +3,7 @@ |
|||
# Server Management Script |
|||
# Author: Daniel Gibbs |
|||
# Website: http://danielgibbs.co.uk |
|||
# Version: 220614 |
|||
# Version: 010814 |
|||
|
|||
#### Variables #### |
|||
|
|||
@ -15,7 +15,7 @@ email="[email protected]" |
|||
# Directorys |
|||
rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd )" |
|||
selfname="$0" |
|||
lockselfname=$(echo "${selfname}.lock"|sed 's/^\(.\{1\}\).\(.*\)/\1\2/') |
|||
lockselfname=$(echo ".${servicename}.lock") |
|||
filesdir="${rootdir}/serverfiles" |
|||
systemdir="${filesdir}/System" |
|||
executabledir="${systemdir}" |
|||
|
Loading…
Reference in new issue