Should work on source servers and gold source servers. If the server also has a quit command outside those then this should do it also.
@@ -124,6 +124,8 @@ else
fn_printfail "${servername} is already stopped"
fn_scriptlog "${servername} is already stopped"
else
+ tmux send -t "${servicename}" quit ENTER
+ sleep 20
tmux kill-session -t "${servicename}"
fn_printok "${servername}"
fn_scriptlog "Stopped ${servername}"