Skip to content

Instantly share code, notes, and snippets.

@misuchiru03
Created July 8, 2019 19:14
Show Gist options
  • Save misuchiru03/83a12311a87780ec00079ac376fcec64 to your computer and use it in GitHub Desktop.
Save misuchiru03/83a12311a87780ec00079ac376fcec64 to your computer and use it in GitHub Desktop.
Teamspeak 3 Server Systemd Service
[Unit]
Description=Teamspeak 3 Server
Documentation=http://www.teamspeak.com/?page=literature
Wants=network.target
[Service]
WorkingDirectory=/opt/ts3server/
User=teamspeak
Group=teamspeak
ExecStart=/opt/ts3server/ts3server_startscript.sh start
ExecStop=/opt/ts3server/ts3server_startscript.sh stop
ExecReload=/opt/ts3server/ts3server_startscript.sh restart
PIDFile=/opt/ts3server/ts3server.pid
RestartSec=5
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment