skarnet / s6

The s6 supervision suite.
https://skarnet.org/software/s6/
ISC License
777 stars 35 forks source link

s6-supervise should also handle SIGINT as SIGTERM #4

Closed AndCycle closed 7 years ago

AndCycle commented 7 years ago

as I trying to move from djb daemontools to s6 and playing around, I found that if I use ctrl+c to stop s6-svscan at console, s6-supervise will also receive SIGINT,

but s6-supervise doesn't handle the signal so it just stopped without clean anything, leave the child process running

I am not sure is this a proper fix for my problem, this is just one way to fix it.

skarnet commented 7 years ago

Please see https://www.mail-archive.com/skaware@list.skarnet.org/msg00062.html for a solution to your issue. Also, please use the skaware or supervision mailing-list for s6 discussion, I don't take pull requests. ;-)

AndCycle commented 7 years ago

got it, thanks for the instructions :p