You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Nick Griffiths (JIRA)" <ji...@apache.org> on 2011/04/17 18:53:05 UTC

[jira] [Updated] (DAEMON-204) Support sending a reload message via SIGUSR2

     [ https://issues.apache.org/jira/browse/DAEMON-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Griffiths updated DAEMON-204:
----------------------------------

    Attachment: soft-reloadable.diff

First stab at a patch.  Comments/amendments very welcome!

> Support sending a reload message via SIGUSR2 
> ---------------------------------------------
>
>                 Key: DAEMON-204
>                 URL: https://issues.apache.org/jira/browse/DAEMON-204
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Jsvc
>         Environment: linux/unix
>            Reporter: Nick Griffiths
>            Priority: Minor
>             Fix For: 1.0.6
>
>         Attachments: soft-reloadable.diff
>
>
> I've often wanted to be able to support config reloading (like apache's or nginx's soft reload) in our daemons, so I've been hacking around with jsvc to see how difficult it would be to add.  It seems to have been quite easy to do it via signals (patch attached), but I'm not confident with the low level c-stuff.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira