gentoo/media-sound/teamspeak-server-bin/files/systemd/teamspeak3.service
Robert Förster e87c0b9b65 [media-sound/teamspeak-server-bin] version bump from tree, includes TSDNS support.
NB: TSDNS support in the ebuild might go away in the future in favor of SRV records as they do not require some additional services
2012-08-04 13:38:21 +02:00

22 lines
500 B
Desktop File

[Unit]
Description=TeamSpeak 3 Server
After=network.target
[Service]
Type=simple
Environment=LD_LIBRARY_PATH=/opt/teamspeak3-server
WorkingDirectory=/opt/teamspeak3-server
ExecStartPre=/bin/rm -f /dev/shm/7gbhujb54g8z9hu43jre8
ExecStart=/opt/teamspeak3-server/ts3server-bin inifile=/etc/teamspeak3-server/server.conf
ExecStop=/bin/kill -15 $MAINPID
StandardOutput=syslog
StandardError=syslog
User=teamspeak3
Group=teamspeak3
Restart=always
[Install]
WantedBy=multi-user.target
# vim:syntax=dosini