9 test x
"${cherokee:-NO}" = x
"NO" && exit 0
10 test x
"$cherokee" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
14 [ ! -d /srv
/www
] && echo "You need to create /srv/www/htdocs" && exit 1
15 mkdir
-p /var
/log
/cherokee
&& chown cherokee.cherokee
/var
/log
/cherokee
16 /usr
/sbin
/cherokee
-d $cherokee_flags
19 kill $
(pgrep
-f /usr
/sbin
/cherokee
)
26 echo "usage: $0 {start | stop | restart}"