Feature Requests: Browse | Submit New | Admin

[#19269] script/backgroundrb could be a little more robust

Date:
2008-04-02 17:27
Priority:
3
Submitted By:
Sheldon Maloff (sheldonmaloff)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
script/backgroundrb could be a little more robust

Detailed description
script/backgroundrb start: it should check the for the pid file and process before blindly overwriting the pid with
the new process
script/backgroundrb stop: will spit out ugly exceptions if the pid file has already been deleted.

For what it's worth, I rewrote the backgroundrb to look like the attachment. It may still have a few bugs in it, but
it works much better with Monit than the original script, since it won't start a new backgroundrb if one is already
running.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
backgroundrb script/backgroundrb Download

Changes:

Field Old Value Date By
File Added3546: backgroundrb2008-04-02 17:27sheldonmaloff