Skip to content

Instantly share code, notes, and snippets.

@luanlmd
Created April 27, 2016 23:13
Show Gist options
  • Select an option

  • Save luanlmd/a5127bb09ab3442ee1a09b71c40a18b4 to your computer and use it in GitHub Desktop.

Select an option

Save luanlmd/a5127bb09ab3442ee1a09b71c40a18b4 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Systemd TeamSpeak service file
[Unit]
Description=Teamspeak Service
After=network.target
[Service]
WorkingDirectory=/opt/teamspeak3-server_linux_amd64
ExecStart=/opt/teamspeak3-server_linux_amd64/ts3server_minimal_runscript.sh
ExecStop=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh stop
ExecReload=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh restart
PIDFile=/opt/teamspeak3-server_linux_amd64/ts3server.pid
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment