summaryrefslogtreecommitdiff
path: root/net-voip/umurmur/files/umurmurd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/umurmur/files/umurmurd.initd')
-rw-r--r--net-voip/umurmur/files/umurmurd.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-voip/umurmur/files/umurmurd.initd b/net-voip/umurmur/files/umurmurd.initd
new file mode 100644
index 000000000000..d0dd5517d626
--- /dev/null
+++ b/net-voip/umurmur/files/umurmurd.initd
@@ -0,0 +1,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%/*}
+}