diff options
Diffstat (limited to 'audio/teamspeak3-server/files/teamspeak_server.sh')
-rw-r--r-- | audio/teamspeak3-server/files/teamspeak_server.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/audio/teamspeak3-server/files/teamspeak_server.sh b/audio/teamspeak3-server/files/teamspeak_server.sh deleted file mode 100644 index be5137cbfcc1..000000000000 --- a/audio/teamspeak3-server/files/teamspeak_server.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# -# Start/stop the TeamSpeak 2 server -# - -TSHOME=%%TSHOME%% -PIDFILE=${TSHOME}/server.pid - -cd "$TSHOME" - -case "$1" in - start) - su -fm teamspeak -c './server_linux >/dev/null' && echo -n ' teamspeak_server' - ;; - stop) - kill -TERM `cat "$PIDFILE"` - ;; - restart) - $0 stop - echo 5 second pause before restart. . . - sleep 5 - $0 start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac -exit 0 - |