diff options
Diffstat (limited to 'net-misc/stunnel/files/stunnel.rc6')
-rw-r--r-- | net-misc/stunnel/files/stunnel.rc6 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/stunnel/files/stunnel.rc6 b/net-misc/stunnel/files/stunnel.rc6 new file mode 100644 index 000000000000..7bcbe435d6a2 --- /dev/null +++ b/net-misc/stunnel/files/stunnel.rc6 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/files/stunnel.rc6,v 1.1 2002/10/26 23:42:32 aliz Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting stunnel" + start-stop-daemon --start --quiet --exec /usr/sbin/stunnel + eend $? +} + +stop() { + ebegin "Stopping net-snmpd" + start-stop-daemon --stop --quiet --exec /usr/sbin/stunnel + eend $? +} |