aboutsummaryrefslogtreecommitdiff
path: root/security/shibboleth2-sp/files/shibboleth-sp.in
blob: 245ae80004d432064fef9244eb2b62be8584f6f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"