prodigy.el
prodigy.el copied to clipboard
add possibility to provide a `:kill-command` instead of a `:kill-signal`
Hi,
It would be great to have the possibility to provide a command to stop a service. Sometime this is required in order to ensure a clean shutdown of stateful service.
thanks Bruno
That makes sense. If you are interested in implementing it, I would be happy to merge it. I probably wont do it myself for quite some time as I don't have much time over for open source hacking.
I'm don't know much about elisp yet (i'm a Clojure developer) but I will give it a try, maybe asking some directions to you to start off. Anyway I will be off on holiday for the next couple of weeks, I'll look into this when I'm back. thx Bruno
I'm going on holiday today as well, so no hurry! :)
It should be fairly straight forward I think. Let me know if you have any questions!
This would be nice for docker-compose stacks as well. I will try to look into this.
This will be quite nice indeed. I'm currently trying to get prodigy to work with MySQL on a mac and it seems like I cannot kill or stop it via a signal and I could've worked around this issue with a command instead. @Fuco1 have you had the chance to look into this?
Hey @asheshambasta, not yet, somehow docker started working fine with signals so my use-case was solved :blush: But I hope to get to it someday.