Hello!
On Thu, Nov 6, 2008 at 5:19 PM, leonel <[EMAIL PROTECTED]> wrote:
> Javier De Posada wrote:
>> FYI, the fix for this is trivial, all you have to change is line 27 of init
>> script /etc/init.d/cherokee
>>
>> Where it reads:
>>
>> PIDFILE=/var/run/cherokee.pid
>>
>> Should be:
>>
>> PIDFILE=/var/run/cherokee-worker.pid
>>
> Thank YOu I'll include that change to the PPA this also get to
> debian when the cherokee alioth git gets online
>
> Leonel
Leonel, I think this is not the problem. I'm using the init script
included in cherokee "contrib", and works fine here.
Look at stop) section:
>From Cherokee contrib init:
stop)
echo -n "Stopping cherokee web server: $NAME"
start-stop-daemon --stop --pidfile $PIDFILE --oknodo --signal TERM
--exec $DAEMON --retry 30
;;
Init script included in Ubuntu package:
stop)
echo -n "Stopping web server: $NAME "
start-stop-daemon --stop --oknodo --pidfile $PIDFILE --exec $DAEMON
rm -f $PIDFILE
;;
Cherokee removes its PIDFILE itself on exit too. From "main.c":
if (! single_time) {
pid_file_clean (pid_file_path);
}
Please, give a look to "contrib/cherokee". I think we must send
signals to "cherokee" instead "cherokee-worker".
--
Saludos:
Antonio Pérez
ATENCIÓN: Antes de imprimir este mensaje valora si verdaderamente es necesario.
De esta forma contribuimos a la preservación del Medio Ambiente.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee