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

Communicate Daemon features more clearly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.15
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated: