diff options
Diffstat (limited to 'net-voip/gnugk/files/gnugk.rc6')
-rwxr-xr-x | net-voip/gnugk/files/gnugk.rc6 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-voip/gnugk/files/gnugk.rc6 b/net-voip/gnugk/files/gnugk.rc6 new file mode 100755 index 000000000000..886534f7916c --- /dev/null +++ b/net-voip/gnugk/files/gnugk.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 Gatekeeper" + start-stop-daemon --start --quiet --background \ + --exec /usr/sbin/gnugk -- ${OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping H.323 Gatekeeper" + start-stop-daemon --stop --quiet --pidfile /var/run/gnugk.pid + eend $? +} |