sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

Added subsys lock to worker init script. #47

Closed awiddersheim closed 11 years ago

awiddersheim commented 11 years ago

This is required on RHEL style machines to properly handle run level changes.

You can read about it in more detail here which isn't the best documentation I know but the best I could find that validates why this change is necessary.

http://www.redhat.com/magazine/008jun05/departments/tips_tricks/

sni commented 11 years ago

This will probably only work if you run the init script with the root user. Could you fix that, to only do that if the init script is run with id 0? There are already examples in the script.

awiddersheim commented 11 years ago

I think that should do it

sni commented 11 years ago

thanks, its merged