aboutsummaryrefslogtreecommitdiff
path: root/security/shibboleth-sp/files/shibboleth-sp.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/shibboleth-sp/files/shibboleth-sp.in')
-rw-r--r--security/shibboleth-sp/files/shibboleth-sp.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/shibboleth-sp/files/shibboleth-sp.in b/security/shibboleth-sp/files/shibboleth-sp.in
new file mode 100644
index 000000000000..245ae80004d4
--- /dev/null
+++ b/security/shibboleth-sp/files/shibboleth-sp.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: shibboleth_sp
+# REQUIRE: DAEMON
+#
+
+. %%RC_SUBR%%
+
+name="shibboleth_sp"
+rcvar=${name}_enable
+
+[ -z "$shibboleth_sp_enable" ] && shibboleth_sp_enable="NO"
+pidfile="/var/run/${name}.pid"
+command="%%PREFIX%%/sbin/shibd"
+start_cmd="${command} -f -p ${pidfile} &"
+
+load_rc_config $name
+run_rc_command "$1"