aboutsummaryrefslogtreecommitdiffstats
path: root/community/mumble/murmur.initd
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 13:17:17 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-09-27 13:17:35 +0200
commit49eadd11fdb27a80931944db5b3b55fe27424d8c (patch)
treed810d9e7d799f7ff44dcdea8f57ed1a8f0a3637f /community/mumble/murmur.initd
parent37a83ad09a5881cf8e63a88d651eccc06a6cfbda (diff)
downloadaports-49eadd11fdb27a80931944db5b3b55fe27424d8c.tar.bz2
aports-49eadd11fdb27a80931944db5b3b55fe27424d8c.tar.xz
community/mumble: move from main
Diffstat (limited to 'community/mumble/murmur.initd')
-rw-r--r--community/mumble/murmur.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/mumble/murmur.initd b/community/mumble/murmur.initd
new file mode 100644
index 0000000000..3eb0fcf5af
--- /dev/null
+++ b/community/mumble/murmur.initd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+
+depends() {
+ needs localmount
+}
+
+description="Mumble VoIP Server"
+command="/usr/bin/murmurd"
+command_args="-ini /etc/murmur.ini"
+pidfile="/var/run/murmur/murmur.pid"
+
+start_pre() {
+ checkpath --owner murmur:murmur --directory ${pidfile%/*}
+}
+
+# uses the openrc templates for start()/stop()
+
+