Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-179

Allow using System.exit to shutdown services

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.4
    • Procrun
    • None

    Description

      Allow using java.lang.System as --ShutdownClass with mandatory exit as --ShutdownMethod
      Applications that are not designed with specific init and shutdown methods cannot be run effectively without that
      Using System.exit allow any application to be run with procrun given that application itself
      installs some sort of ShutdownHook that will cleanup its stuff on System.exit

      Attachments

        Activity

          People

            mturk@apache.org Mladen Turk
            mturk@apache.org Mladen Turk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: