Created
April 29, 2017 23:46
-
-
Save ozen/d8858538a13762960513041a92eb41ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# put in /etc/systemd/system directory | |
[Unit] | |
Description=TeamSpeak 3 Server | |
After=network.target | |
[Service] | |
WorkingDirectory=/opt/teamspeak3 | |
User=yigit | |
Group=yigit | |
Type=forking | |
ExecStart=/opt/teamspeak3/ts3server_startscript.sh start inifile=ts3server.ini | |
ExecStop=/opt/teamspeak3/ts3server_startscript.sh stop | |
PIDFile=/opt/teamspeak3/ts3server.pid | |
RestartSec=15 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target | |
Alias=ts3server.services |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment