summaryrefslogtreecommitdiff
path: root/security/stunnel/files
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-06-06 14:19:04 +0000
committerschmonz <schmonz@pkgsrc.org>2004-06-06 14:19:04 +0000
commite43203ea0a10e6b1b30314336cca091e2ab0e4ab (patch)
tree739b425ba0ec49fe32d1cccd4ce0aae4588917c5 /security/stunnel/files
parent58f13d8cc4fcd8c186c43b0555c438ab1e4902a2 (diff)
downloadpkgsrc-e43203ea0a10e6b1b30314336cca091e2ab0e4ab.tar.gz
Add simple rc.d script. Bump PKGREVISION.
Diffstat (limited to 'security/stunnel/files')
-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"