summaryrefslogtreecommitdiff
blob: d0dd5517d626441669ae82316c3d54a5e74712a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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%/*}
}