Created
July 8, 2019 19:14
-
-
Save misuchiru03/83a12311a87780ec00079ac376fcec64 to your computer and use it in GitHub Desktop.
Teamspeak 3 Server Systemd Service
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
[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