@@ -36,11 +36,7 @@ fn_start_teamspeak3(){
install_eula.sh
fi
cd "${executabledir}" || exit
- if [ "${ts3serverpass}" == "1" ]; then
- ./ts3server_startscript.sh start serveradmin_password="${newpassword}" inifile="${servercfgfullpath}" > /dev/null 2>&1
- else
- fn_start_tmux
- fi
+ fn_start_tmux
fn_sleep_time
check_status.sh
if [ "${status}" == "0" ]; then
@@ -42,7 +42,8 @@ if [ "${status}" != "0" ]; then
exitbypass="1"
command_stop.sh
fn_serveradmin_password_set
- ts3serverpass="0"
+ parms="inifile=${servercfgfullpath} pid_file=ts3server.pid"
+W ts3serverpass="0"
fn_print_info_nl "Restarting server normally"
fn_script_log_info "Restarting server normally"
command_restart.sh