openbsd-ports/www/cherokee/pkg/MESSAGE-main
sthen b11b8e9f9f - fix RUN_DEPENDS-main to pull in ${RUN_DEPENDS}, so python gets
installed, needed for the admin interface. ok ajacoutot@

- install blank sample logfiles, rather than make them a copy of
the sample index.html

- unbreak sample rc.local lines in MESSAGE-main (foo-bar isn't
a valid shell variable, foo_bar is)

all found by Rod Whitworth, thanks!
2010-03-22 01:18:26 +00:00

23 lines
699 B
Plaintext

To complete the installation, you need to configure cherokee. As root:
# cherokee-admin [-b bind-to-IP] [-p port]
(without parameters it will bind to 127.0.0.1 on port 9090).
If you want to run cherokee on boot, add these lines to /etc/rc.local:
if [ X"${cherokee_flags}" != X"NO" ]; then
echo -n ' cherokee'
${PREFIX}/sbin/cherokee ${cherokee_flags} 1> /dev/null
fi
for admin management:
if [ X"${cherokee-admin_flags}" != X"NO" ]; then
echo -n ' cherokee-admin'
${PREFIX}/sbin/cherokee-admin ${cherokee_admin_flags} 1> /dev/null &
fi
and in /etc/rc.conf.local:
cherokee_flags="-d" # use -d to run in daemon mode
cherokee-admin_flags=NO # use -b if you want listen on ALL interfaces