aports/testing/mumble/murmur.initd
Natanael Copa 5f40964641 testing/mumble: create pid dir from init.d script
the /var/run directory does not exist after a reboot so we need create
it before starting the service instead of at package install time.
2014-10-08 11:17:29 +00:00

19 lines
311 B
Plaintext

#!/sbin/runscript
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()