summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/openmcu/files/openmcu.rc6')
-rw-r--r--net-voip/openmcu/files/openmcu.rc621
1 files changed, 21 insertions, 0 deletions
diff --git a/net-voip/openmcu/files/openmcu.rc6 b/net-voip/openmcu/files/openmcu.rc6
new file mode 100644
index 000000000000..444d5bbe793b
--- /dev/null
+++ b/net-voip/openmcu/files/openmcu.rc6
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting H.323 Conferencing service"
+ start-stop-daemon --start --quiet --pidfile /var/run/openmcu/openmcu.pid \
+ --exec /usr/sbin/openmcu -- ${OPTIONS} -d -p /var/run/openmcu/openmcu.pid -i /etc/openmcu/openmcu.ini
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping H.323 Conferencing service"
+ start-stop-daemon --stop --quiet --pidfile /var/run/openmcu/openmcu.pid
+ eend $?
+}