Am Sonntag, den 08.11.2009, 21:18 +0200 schrieb Wimpie Nortje:
> Hi
> 
> 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.

You can send any defined signal using kill. Try:

# kill -TERM <yourdeamon>

for sending the TERM signal. At least FreeBSDs kill works that way. If
yours doesn't try:

$ man kill

HTH,
-- 
Marc Santhoff <m.santh...@web.de>

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to