|
|
@ -2,7 +2,7 @@ |
|
|
|
# LGSM fn_stop function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://gameservermanagers.com |
|
|
|
# Version: 260515 |
|
|
|
# Version: 180615 |
|
|
|
|
|
|
|
# Description: Stops the server. |
|
|
|
|
|
|
@ -113,7 +113,7 @@ if [ "${gamename}" == "7 Days To Die" ] ; then |
|
|
|
fn_printok "${servername} is already stopped using graceful shutdown" |
|
|
|
fn_scriptlog "${servername} is already stopped using graceful shutdown" |
|
|
|
else |
|
|
|
tmux kill-session -t ${servicename} |
|
|
|
tmux kill-session -t "${servicename}" |
|
|
|
fn_printok "${servername}" |
|
|
|
fn_scriptlog "Stopped ${servername}" |
|
|
|
fi |
|
|
@ -124,7 +124,7 @@ else |
|
|
|
fn_printfail "${servername} is already stopped" |
|
|
|
fn_scriptlog "${servername} is already stopped" |
|
|
|
else |
|
|
|
tmux kill-session -t ${servicename} |
|
|
|
tmux kill-session -t "${servicename}" |
|
|
|
fn_printok "${servername}" |
|
|
|
fn_scriptlog "Stopped ${servername}" |
|
|
|
fi |
|
|
|