Last active
December 15, 2015 08:09
-
-
Save magcks/5228782 to your computer and use it in GitHub Desktop.
TeamSpeak debian start script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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