[fpc-pascal] Stopping daemon in linux

Wimpie Nortje 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
> http://bugs.freepascal.org/view.php?id=14741
> there are some more signals that are handled.
Are there plans to fix/change this, or must I implement some kind of pid 
check myself?

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...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091108/f166e8f9/attachment.html>

More information about the fpc-pascal mailing list