Lines 1-6
Link Here
|
1 |
#!/bin/sh |
1 |
#!/bin/sh |
2 |
# |
2 |
# |
3 |
# $FreeBSD: ports/security/shibboleth2-sp/files/shibboleth-sp.in,v 1.3 2010/03/27 00:14:48 dougb Exp $ |
3 |
# $FreeBSD$ |
4 |
# |
4 |
# |
5 |
# PROVIDE: shibboleth_sp |
5 |
# PROVIDE: shibboleth_sp |
6 |
# REQUIRE: DAEMON |
6 |
# REQUIRE: DAEMON |
Lines 11-20
Link Here
|
11 |
name="shibboleth_sp" |
11 |
name="shibboleth_sp" |
12 |
rcvar=${name}_enable |
12 |
rcvar=${name}_enable |
13 |
|
13 |
|
14 |
[ -z "$shibboleth_sp_enable" ] && shibboleth_sp_enable="NO" |
|
|
15 |
pidfile="/var/run/${name}.pid" |
16 |
command="%%PREFIX%%/sbin/shibd" |
17 |
start_cmd="${command} -f -p ${pidfile} &" |
18 |
|
19 |
load_rc_config $name |
14 |
load_rc_config $name |
|
|
15 |
|
16 |
command=${shibboleth_sp_program:-%%PREFIX%%/sbin/shibd} |
17 |
pidfile="${shibboleth_sp_pidfile:-/var/run/${name}.pid}" |
18 |
command_args="-f -p ${pidfile}" |
19 |
|
20 |
run_rc_command "$1" |
20 |
run_rc_command "$1" |