wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

PIDfiles not persisted and systemd support #100

Closed ppanero closed 2 years ago

ppanero commented 8 years ago

Hello,

The case is that I am trying to track the workers via systemd so they are restarted on reboot and also if the somehow fail. The fact is that:

1- Once the call is made it those not stay in foreground which would be helpful, but since the framework is intended to be in background okay.

2- The pidfiles are created but deleted once it is checked that the worker is started correctly. Is there a way to persist pidfiles and only delete them upon stop of the workers?

Thanks

ppanero commented 2 years ago

closing this due to inactivity