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

depend() {
	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()