blob: d010d35c8b7418874cdc6bd801fa9fc823ec5142 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# PROVIDE: slowcgi
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable slowcgi:
# slowcgi_enable="YES"
# slowcgi_flags="<set as needed>"
. /etc/rc.subr
name=slowcgi
rcvar=slowcgi_enable
command="%%PREFIX%%/sbin/slowcgi"
slowcgi_enable=${slowcgi_enable:-"NO"}
slowcgi_flags=${slowcgi_flags:-""}
load_rc_config $name
run_rc_command "$1"
|