Add support for specifying the stop signal (or change default to term)
Created by: piotrb
I'd love for there to be a way to easily influence the signal sent at stop, right now it seems to be a choice between sigquit and sighup .. quit is quite brutal, if anything it should be sigterm, is not a common process management signal for many utilities, term is normally considered to be a much more graceful "ask the program to terminate", while quit is just an order to die. (also sigquit is meant to create core dumps, its generally not a good singal to use in an automated lifecycle)
If you can change from quit to term, that would satisfy this, or if not, just made an option in config allow to override the signal send on stop.