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

depends() {
	need localmount net
	after firewall
}

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

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

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