aports/openrc/murmur/runfile

20 lines
362 B
Plaintext

#!/sbin/openrc-run
depends() {
need localmount net yggdrasil
after firewall yggdrasil
}
description="Mumble VoIP Server"
command="/usr/bin/murmurd"
command_args="-ini ${INI_CONFIG:-/etc/murmur.ini}"
pidfile="/run/murmur/murmur.pid"
start_pre() {
checkpath --owner murmur:murmur --directory ${pidfile%/*}
}
# uses the openrc templates for start()/stop()