Skip to content

Instantly share code, notes, and snippets.

@PhilipTrauner
Created October 28, 2016 16:08
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 PhilipTrauner/057152960e2f64ed60a866bdb691b487 to your computer and use it in GitHub Desktop.
Save PhilipTrauner/057152960e2f64ed60a866bdb691b487 to your computer and use it in GitHub Desktop.
TeamSpeak 3 system.d service
[Unit]
Description=Teamspeak Service
Wants=network.target
[Service]
WorkingDirectory=/home/ts3/ts3
User=ts3
ExecStart=/home/ts3/ts3/ts3server_minimal_runscript.sh
ExecStop=/home/ts3/ts3/ts3server_startscript.sh stop
ExecReload=/home/ts3/ts3/ts3server_startscript.sh restart
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment