Skip to content

Instantly share code, notes, and snippets.

@maltechx
Created April 9, 2020 10:49
Show Gist options
  • Save maltechx/8a7f61f4dd16f82373d441244a6e7b56 to your computer and use it in GitHub Desktop.
Save maltechx/8a7f61f4dd16f82373d441244a6e7b56 to your computer and use it in GitHub Desktop.
[Unit]
Description=TeamSpeak Server
After=network.target
[Service]
WorkingDirectory=/opt/teamspeak3-server_linux_amd64/
User=teamspeak
Group=teamspeak
Type=forking
ExecStart=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh stop
PIDFile=/opt/teamspeak3-server_linux_amd64/ts3server.pid
RestartSec=15
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