commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cacsar@gmail.com" <cac...@gmail.com>
Subject Re: [daemon] Documentation for DaemonConfiguration file format and SIGUSR1
Date Tue, 09 Oct 2012 18:08:53 GMT
Any suggestions on where to look for more information?

On Fri, Oct 5, 2012 at 4:56 PM, cacsar@gmail.com <cacsar@gmail.com> wrote:
> I'm looking at using Daemon, and unless I'm just failing to find
> documentation there doesn't seem to be much documentation at all on
> how one would use DaemonConfiguration. From looking at it I imagine
> the idea is that one specifies the name of a config file with the
> -daemon-properties argument passed to jsvc or procrun and then during
> init your daemon looks up the values for the properties it's defined.
> However, how the pairs of strings are specified in the configuration
> file appears to be undocumented.
>
> If it would help I'd be happy to edit the wiki to add additional
> documentation if someone is willing to check it's correctness after I
> write it. From what I can tell from glancing at the java source code,
> whenever a call is made to the one start, stop, init etc a new
> instance of the class implementing Daemon is created, meaning that
> some static state should be used to contain the actual per program
> data. The DaemonUserSignal interface is implemented in order to
> receive SIGUSR2, but there doesn't seem to be any support for SIGUSR1
> or SIGHUP. Is there a reason for this?
>
> Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message