Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

SIGUSR2 being used?

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


echo at echoreply

Jun 13, 2008, 5:28 AM

Post #1 of 3 (276 views)
Permalink
SIGUSR2 being used?

Hello,

Are there any plans to assign SIGUSR2 to some specific handler? If not,
I would like to use this for the 'status' argument for the init script.

SIGUSR2 would cause Cherokee to print the settings that were passed when
starting it and (in the future) other informative things.

Likewise, /etc/init.d/cherokee status failing alerts the init script to
remove a stale PID, as 'status' would just mean a kill -SIGUSR2. This
makes locking much simpler and intelligent.

Obviously, this is GNU/Linux centric.

Regards,
--Tim

--
Monkey + Typewriter = Echoreply ( http://echoreply.us )

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


alvaro at gnu

Jun 13, 2008, 8:01 AM

Post #2 of 3 (261 views)
Permalink
Re: SIGUSR2 being used? [In reply to]

On 13 Jun 2008, at 14:28, Tim Post wrote:

> Are there any plans to assign SIGUSR2 to some specific handler? If
> not,
> I would like to use this for the 'status' argument for the init
> script.
>
> SIGUSR2 would cause Cherokee to print the settings that were passed
> when
> starting it and (in the future) other informative things.

So far, we've got "cherokee -i" in trunk and the "server_info" handler
(it returns HTML though). But, yeah.. it sounds like an interesting
nice-to-have.

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


echo at echoreply

Jun 13, 2008, 7:41 PM

Post #3 of 3 (254 views)
Permalink
Re: SIGUSR2 being used? [In reply to]

On Fri, 2008-06-13 at 17:01 +0200, Alvaro Lopez Ortega wrote:
> > SIGUSR2 would cause Cherokee to print the settings that were passed
> > when
> > starting it and (in the future) other informative things.
>
> So far, we've got "cherokee -i" in trunk and the "server_info" handler
> (it returns HTML though). But, yeah.. it sounds like an interesting
> nice-to-have.

I'll implement it and start off with a simple message that prints basic
stuff in 80 column text. Hopefully I get a little of this weekend to
myself so I can tinker :)

Cheers,
--Tim

--
Monkey + Typewriter = Echoreply ( http://echoreply.us )

_______________________________________________
Cherokee mailing list
Cherokee[at]cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.