Version 1.0

This commit is contained in:
Marcin Wozniak 2019-02-01 19:12:28 +01:00
parent f17237c519
commit 3272a7896f

20
teamspeak.service Normal file
View File

@ -0,0 +1,20 @@
[Unit]
Description=TeamSpeak Server Service
After=network.target
[Service]
Type=forking
WorkingDirectory=/opt/teamspeak/
ExecStart=/opt/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/opt/teamspeak/ts3server_startscript.sh stop
User=teamspeak
Group=teamspeak
PIDFile=/opt/teamspeak/ts3server.pid
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=teamspeak
[Install]
WantedBy=multi-user.target