Browse Source

Revert "updated to ts3server code"

This reverts commit 87a2d72297.
pull/914/head
Daniel Gibbs 9 years ago
parent
commit
4a363c67bf
  1. 6
      lgsm/functions/command_start.sh

6
lgsm/functions/command_start.sh

@ -31,7 +31,9 @@ fn_start_teamspeak3(){
if [ "${status}" != "0" ]; then if [ "${status}" != "0" ]; then
fn_print_info_nl "${servername} is already running" fn_print_info_nl "${servername} is already running"
fn_script_log_error "${servername} is already running" fn_script_log_error "${servername} is already running"
else core_exit.sh
fi
mv "${scriptlog}" "${scriptlogdate}" mv "${scriptlog}" "${scriptlogdate}"
# Create lock file # Create lock file
date > "${rootdir}/${lockselfname}" date > "${rootdir}/${lockselfname}"
@ -47,11 +49,11 @@ fn_start_teamspeak3(){
fn_print_fail_nl "Unable to start ${servername}" fn_print_fail_nl "Unable to start ${servername}"
fn_script_log_fatal "Unable to start ${servername}" fn_script_log_fatal "Unable to start ${servername}"
echo -e " Check log files: ${rootdir}/log" echo -e " Check log files: ${rootdir}/log"
core_exit.sh
else else
fn_print_ok_nl "${servername}" fn_print_ok_nl "${servername}"
fn_script_log_pass "Started ${servername}" fn_script_log_pass "Started ${servername}"
fi fi
fi
} }
fn_start_tmux(){ fn_start_tmux(){

Loading…
Cancel
Save