Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-581

Improve startup script for RedHat

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.8.0
    • Component/s: Scripts
    • Labels:
      None

      Description

      The current openfire script uses kill to end a process. This fails under some circumstances (e.g. the process is under heavy load and unresponsive). For RedHat (and related), there is a function, killproc that will try to kill the process nicely and escalate all the way up to SIGKILL - this is more reliable in practice.
      Also, the presence of a PID file is not desirable. When the process dies unexpectedly or it gets killed, the file is left behind so OF won't start until it is removed. A better way to handle this is to grep for PID.

        Attachments

          Activity

            People

            Assignee:
            alexm Alex Mateescu
            Reporter:
            alexm Alex Mateescu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: