aboutsummaryrefslogtreecommitdiffstats
path: root/main/umurmur/umurmur.initd
blob: 0f9b3dbb2720cb755ae3a5a4be4a5e2e37fcb015 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/files/umurmurd.initd,v 1.1 2013/06/20 09:10:29 polynomial-c Exp $

description="umurmurd - A minimalistic mumble server"
pidfile="/run/umurmurd/umurmurd.pid"
command="/usr/bin/umurmurd"
command_args="-c /etc/umurmur/umurmurd.conf -p ${pidfile} ${UMURMURD_OPTS}"
start_stop_daemon_args="-p ${pidfile} -w 100"

depend() {
	need net
	use logger
}

start_pre() {
	checkpath -d -o umurmur ${pidfile%/*}
}