summaryrefslogtreecommitdiff
path: root/security/stunnel/files/stunnel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/stunnel/files/stunnel.sh')
-rwxr-xr-xsecurity/stunnel/files/stunnel.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/stunnel/files/stunnel.sh b/security/stunnel/files/stunnel.sh
new file mode 100755
index 00000000000..b4ecc1ac922
--- /dev/null
+++ b/security/stunnel/files/stunnel.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: stunnel.sh,v 1.1 2004/06/06 14:19:04 schmonz Exp $
+#
+
+# PROVIDE: stunnel
+# REQUIRE: LOGIN
+
+. /etc/rc.subr
+
+name="stunnel"
+rcvar=$name
+command="@PREFIX@/sbin/stunnel"
+required_files="@PKG_SYSCONFDIR@/stunnel.conf"
+
+load_rc_config $name
+run_rc_command "$1"