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
commit15ce0d6edad694942bd013e5609eddc220933274 (patch)
tree739b425ba0ec49fe32d1cccd4ce0aae4588917c5 /security/stunnel/files
parent6b7ca93f3026d30ba501f7684e4dae42ff9ba03e (diff)
downloadpkgsrc-15ce0d6edad694942bd013e5609eddc220933274.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"