Skip to content

Instantly share code, notes, and snippets.

@magcks
Last active December 15, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magcks/5228782 to your computer and use it in GitHub Desktop.
Save magcks/5228782 to your computer and use it in GitHub Desktop.
TeamSpeak debian start script
#!/bin/sh
# Start ts
# conf
DIR="/home/ts" # the root directory of the ts server
SCRIPT="./ts-start-script.sh" # the ts start script
USER="ts"
cd $DIR && su - $USER -c "$SCRIPT $1"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment