Skip to content

Instantly share code, notes, and snippets.

@pessom
Created August 8, 2017 15:04
Show Gist options
  • Select an option

  • Save pessom/e09b1397f75ba9ddcf605ab77a4f3664 to your computer and use it in GitHub Desktop.

Select an option

Save pessom/e09b1397f75ba9ddcf605ab77a4f3664 to your computer and use it in GitHub Desktop.
Crack teamspeak.service for systemd
[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