You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/umurmur/files/umurmurd.initd

19 lines
458 B

#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="umurmurd - A minimalistic mumble server"
pidfile="/run/umurmurd/umurmurd.pid"
command="/usr/bin/umurmurd"
command_args="-c /etc/umurmur/umurmur.conf -p ${pidfile} ${UMURMURD_OPTS}"
start_stop_daemon_args="-p ${pidfile} -w 100"
depend() {
need net
use logger
}
start_pre() {
checkpath -d -o murmur ${pidfile%/*}
}