prodigy.el icon indicating copy to clipboard operation
prodigy.el copied to clipboard

add possibility to provide a `:kill-command` instead of a `:kill-signal`

Open BrunoBonacci opened this issue 9 years ago • 6 comments

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

BrunoBonacci avatar Jul 14 '15 16:07 BrunoBonacci

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.

rejeep avatar Jul 17 '15 12:07 rejeep

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

BrunoBonacci avatar Jul 17 '15 13:07 BrunoBonacci

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!

rejeep avatar Jul 17 '15 13:07 rejeep

This would be nice for docker-compose stacks as well. I will try to look into this.

Fuco1 avatar Nov 20 '17 13:11 Fuco1

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?

asheshambasta avatar Jun 15 '18 12:06 asheshambasta

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.

Fuco1 avatar Jun 15 '18 13:06 Fuco1