thuehlinger / daemons

Ruby daemons gem official repository
MIT License
648 stars 71 forks source link

PidFile.find_files glob is too loose #10

Closed thuehlinger closed 10 years ago

thuehlinger commented 10 years ago

If you have a program name that is a prefix of another you cannot run it.

I have a progname = 'doppio_preview_2', which prevents me from starting my program called 'doppio_preview' because the glob find the pid.

I have patched this in a fork but I am unsure how to pass this back to the project.

https://github.com/loe/daemons/commit/c6a1510b998ce1f15d9e3d28848bc588f8c48f71