summaryrefslogtreecommitdiff
blob: 70f16736e43f4f5547fa82e1d4ee105babc707a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/openrc-run
# Copyright 1999-2016 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 $?
}