Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-1050

Add support for PID file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Server administration
    • None
    • Crucible Standalone, Fedora Linux
    • 5
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Use case: I use the monit daemon on my server to make sure the production services stay running; this requires having a PID file for each service; monit then knows what the process ID is and can check whether it's up, and take appropriate action.

      The attached version of fisheyectl.sh places the pid file at the location specified by the FISHEYE_PID environment variable (default FISHEYE_INST/var/fisheye.pid). It also uses the pidfile to check for a running instance of Crucible, and prevents the service from being started twice.

      I'm putting my modifications in the public domain so that this can be added to the shipped fisheyectl.sh. Can you review and include in a future release if appropriate? Credit would be appreciated but is not required.

      Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            ee93ccb23ea2 Peter Kolbus
            Votes:
            21 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: