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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to