[fpc-pascal] Stopping daemon in linux
wimpienortje at gmail.com
Sun Nov 8 20:33:24 CET 2009
Marco van de Voort wrote:
> In our previous episode, Wimpie Nortje said:
>> I am writing an application using lazdaemon. How does one stop the
>> daemon gracefully, ie not killing it.
>> The wiki says the daemon runs until it receives the TERM signal. THe
>> only way I know to send the TERM signal is using 'kill'. This kills the
>> app rather letting it exit gracefully.
> Known issue, see
> there are some more signals that are handled.
Are there plans to fix/change this, or must I implement some kind of pid
I also see a mention of a '-b' parameter in the report but it doesn't
daemonize my application. Is it new? I am using fpc 2.2.4
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal