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

Communicate Daemon features more clearly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.15
    • None
    • None

    Description

      A developer new to the subject of "daemonizing" may be left with an unclear picture of what he'd gain from using Commons Daemon with his app after reading the intro:

      http://commons.apache.org/proper/commons-daemon/index.html

      The features and benefits of the software could be stated in more clear terms.

      Here're potential some suggestions for a list of features:

      • automatically restart JVM if it dies
      • enable secure shutdown of JVM process using standard OS mechanisms (Tomcat TCP based shutdown mechanism is error-prone and unsecure)
      • redirect of STDERR/STDOUT and set JVM process name
      • allow integration with OS init script mechanisms (record JVM process pid)
      • detach JVM process from parent process and console
      • run JVM and application with reduced OS privileges
      • allow coordinating log file management with OS tools such as logrotate (reopen log files with signal SIGUSR1)
        ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            aspa Marko Asplund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: