Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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);

        Attachments

          Activity

            People

            • Assignee:
              zhangyongjiang Cheng
              Reporter:
              jboulon Jerome Boulon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: