blob: 85d807509d377a15a367d64c9e52894f8c71a57c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
config="/etc/teamspeak3-server/ts3server.ini"
name="TeamSpeak3 Server"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--chdir /opt/teamspeak3-server --env TS3SERVER_LICENSE=accept"
command="/opt/bin/ts3server"
command_args="inifile=${config}"
command_background="true"
command_group="teamspeak"
command_user="teamspeak"
depend() {
use mysql
}
start_pre() {
# Fix for EPERM bug
rm -f /dev/shm/7gbhujb54g8z9hu43jre8
}
|