Created
August 8, 2017 15:04
-
-
Save pessom/e09b1397f75ba9ddcf605ab77a4f3664 to your computer and use it in GitHub Desktop.
Crack teamspeak.service for systemd
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
| [Unit] | |
| Description=Teamspeak 3 | |
| After=network.service mysql.service | |
| [Service] | |
| Type=simple | |
| User=root | |
| Group=root | |
| UMask=0027 | |
| Restart=always | |
| WorkingDirectory=/opt/teamspeak3-server_linux_amd64 | |
| PIDFile=/opt/teamspeak3-server_linux_amd64/ts3server.pid | |
| ExecStartPre=-/opt/teamspeak3-server_linux_amd64/AccountingServerEmulator-Linux | |
| ExecStart=/opt/teamspeak3-server_linux_amd64/ts3server inifile=ts3server.ini | |
| ExecStop=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh stop | |
| ExecReload=/opt/teamspeak3-server_linux_amd64/ts3server_startscript.sh restart | |
| ExecStopPost=/usr/bin/killall AccountingServerEmulator-Linux | |
| Environment="LD_LIBRARY_PATH=/opt/teamspeak3-server_linux_amd64" | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment