3 # $FreeBSD: ports/www/cherokee/files/cherokee.in,v 1.2 2012/11/17 06:02:29 svnexp Exp $
9 # Add the following lines to /etc/rc.conf to enable cherokee:
11 # cherokee_enable (bool): Set it to "YES" to enable cherokee
13 # cherokee_conf (path): Set full path to config file.
14 # Default is "%%PREFIX%%/etc/cherokee/cherokee.conf".
24 : ${cherokee_enable="NO"}
25 : ${cherokee_conf="%%PREFIX%%/etc/cherokee/cherokee.conf"}
27 command=%%PREFIX%%/sbin/cherokee
28 command_args="-C ${cherokee_conf} -d"
29 pidfile=/var/run/cherokee.pid
30 required_files=${cherokee_conf}
31 stop_postcmd=stop_postcmd