summaryrefslogtreecommitdiff
path: root/security/stunnel/files/stunnel.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/stunnel/files/stunnel.in')
-rw-r--r--security/stunnel/files/stunnel.in41
1 files changed, 0 insertions, 41 deletions
diff --git a/security/stunnel/files/stunnel.in b/security/stunnel/files/stunnel.in
deleted file mode 100644
index 0d3a9472b03e..000000000000
--- a/security/stunnel/files/stunnel.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: stunnel
-# REQUIRE: NETWORKING SERVERS
-# BEFORE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add some of the following variables to /etc/rc.conf to configure stunnel:
-# stunnel_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable stunnel.
-# stunnel_config (str): Default "!!PREFIX!!/etc/stunnel/stunnel.conf"
-# Set it to the full path to the config file
-# that stunnel will use during the automated
-# start-up.
-# stunnel_pidfile (str): Default "!!PREFIX!!/var/stunnel/stunnel.pid"
-# Set it to the value of 'pid' in
-# the stunnel.conf file.
-#
-
-. !!RC_SUBR!!
-
-name="stunnel"
-rcvar=`set_rcvar`
-stunnel_config="!!PREFIX!!/etc/stunnel/${name}.conf"
-stunnel_pidfile="/var/run/${name}.pid"
-command="!!PREFIX!!/sbin/stunnel"
-
-[ -z "$stunnel_enable" ] && stunnel_enable="NO"
-
-load_rc_config $name
-
-command_args=${stunnel_config}
-pidfile=${stunnel_pidfile}
-
-required_files="${stunnel_config}"
-
-run_rc_command "$1"