openbsd-ports/www/fcgi-cgi/pkg/fcgi_cgi.rc
sthen 5d2e92fec9 fix rc script; pexp must come after sourcing rc.subr, and don't use the
-c (chroot) flag by default as this requires extra configuration which
will need describing (TODO ;)
2012-03-27 15:35:37 +00:00

14 lines
273 B
Bash
Executable File

#!/bin/sh
#
# $OpenBSD: fcgi_cgi.rc,v 1.2 2012/03/27 15:35:37 sthen Exp $
daemon="${TRUEPREFIX}/bin/spawn-fcgi"
daemon_flags="-a 127.0.0.1 -p 9001 -u www -U www -- ${TRUEPREFIX}/bin/fcgi-cgi"
. /etc/rc.d/rc.subr
pexp="${TRUEPREFIX}/bin/fcgi-cgi"
rc_reload=NO
rc_cmd $1