Mailing List Archive

Cherokee does not stop from cherokee-admin (OpenBSD)
Hi all,

I have a problem when try to stop cherokee from cherokee-admin web gui, the
problem is that OpenBSD has the parent process (cherokee-admin) owned by
root and the
"/usr/local/sbin/cherokee-worker --admin_child -C
/etc/cherokee/cherokee.conf" owned by _cherokee user, so the file
/var/run/cherokee.pid has the pid parent and can't kill the process, I
tried with the other process and it works.

The question is:

How can I get the other process (child from parent cheroke-admin) instead
the parent process.

The code is:

pid = os.getpid()

In line 62 from server.py

Thanks in advanced.

--


--------------
Fernando Quintero
http://nonroot.blogspot.com/
Just a nonroot User