|
@ -2,7 +2,7 @@ |
|
|
# LGSM fn_monitor function |
|
|
# LGSM fn_monitor function |
|
|
# Author: Daniel Gibbs |
|
|
# Author: Daniel Gibbs |
|
|
# Website: http://danielgibbs.co.uk |
|
|
# Website: http://danielgibbs.co.uk |
|
|
# Version: 080215 |
|
|
# Version: 230315 |
|
|
|
|
|
|
|
|
# Description: Monitors server by checking for running proccesses |
|
|
# Description: Monitors server by checking for running proccesses |
|
|
# then passes to fn_monitor_query. |
|
|
# then passes to fn_monitor_query. |
|
@ -66,7 +66,7 @@ if [ ! -f "${lockselfname}" ]; then |
|
|
fn_scriptlog "Disabled: No lock file found" |
|
|
fn_scriptlog "Disabled: No lock file found" |
|
|
sleep 1 |
|
|
sleep 1 |
|
|
echo -en "\n" |
|
|
echo -en "\n" |
|
|
echo "To enable monitor run ${selfname} start" |
|
|
echo "To enable monitor run ./${selfname} start" |
|
|
exit |
|
|
exit |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|