Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Some processes like Collectors, demuxManager, etc have to be able to exit if they have to.
In that case, watchdog will not restart them since the shutdown hook will have done the cleanup.
pFile = new PidFile("Agent");
Runtime.getRuntime().addShutdownHook(pFile);
pFile = new PidFile("Collector");
Runtime.getRuntime().addShutdownHook(pFile);