aboutsummaryrefslogtreecommitdiffstats
path: root/community/mumble/murmur.initd
blob: 3eb0fcf5af942c88661f706b629aaaf63e3b3b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/openrc-run

depends() {
	needs localmount
}

description="Mumble VoIP Server"
command="/usr/bin/murmurd"
command_args="-ini /etc/murmur.ini"
pidfile="/var/run/murmur/murmur.pid"

start_pre() {
	checkpath --owner murmur:murmur --directory ${pidfile%/*}
}

# uses the openrc templates for start()/stop()