|
From: | Martin Pala |
Subject: | Re: manually cvs checkin notification |
Date: | Sat, 14 Feb 2004 23:29:47 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 |
Jan-Henrik Haukeland wrote:
- Deletion of the monit pid file is done as the last thing before exit() to ensure that no other monit daemon can start before the current isabsolutely finnished. There existed a small window.
This will not work: ... gc(); log_close(); finalize_files(); exit(0); } ... it has the same effect as described with atexit case The pidfile should be created and removed by daemon only. Martin
[Prev in Thread] | Current Thread | [Next in Thread] |