about summary refs log tree commit diff homepage
path: root/rc.kfcgi
blob: 6baa122ce7f55cc45222a2041a030aaf7e212647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# PROVIDE: kfcgi
# REQUIRE: LOGIN
# KEYWORD: shutdown

. /etc/rc.subr

name=kfcgi
rcvar=kfcgi_enable
load_rc_config ${name}

: ${kfcgi_enable:=NO}
kfcgi_flags="${kfcgi_flags} -- ${kfcgi_prog}"

command=/usr/local/sbin/kfcgi

run_rc_command "$1"