It is currently Mon Dec 23, 2024 1:44 am
start() {
ebegin "Starting TeamSpeak 3 Server"
# temporay fix for EPERM bug
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/server.pid" --make-pidfile \
--chuid "teamspeak3" --chdir "/opt/teamspeak3-server" \
--exec "/opt/teamspeak3-server/ts3server_minimal_runscript.sh" -- \ # Can't launch ts3server-bin without exporting LD_LIBRARY_PATH first.
inifile="/opt/teamspeak3-server/ts3server.ini"
eend $?
}
stop() {
ebegin "Stopping TeamSpeak Server"
start-stop-daemon --stop \
--name "ts3server-bin" \
--user "teamspeak3"
eend $?
}
Users browsing this forum: No registered users and 13 guests