aboutsummaryrefslogtreecommitdiffstats
path: root/main/umurmur/umurmur.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/umurmur/umurmur.initd')
-rw-r--r--main/umurmur/umurmur.initd19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/umurmur/umurmur.initd b/main/umurmur/umurmur.initd
new file mode 100644
index 0000000000..9d96a6f437
--- /dev/null
+++ b/main/umurmur/umurmur.initd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# 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 murmur ${pidfile%/*}
+}