[fpc-pascal] Stopping daemon in linux

Marco van de Voort marcov at stack.nl
Sun Nov 8 20:21:46 CET 2009


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.



More information about the fpc-pascal mailing list