Version 1.0
This commit is contained in:
parent
f17237c519
commit
3272a7896f
20
teamspeak.service
Normal file
20
teamspeak.service
Normal 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
|
Loading…
Reference in New Issue
Block a user