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

Add support for PID file


    • Icon: Suggestion 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.

      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.


        1. fisheyectl.sh
          2 kB
          Peter Kolbus

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