Exit on TERM
This commit is contained in:
parent
a9b2d89f29
commit
4e1975ff77
@ -304,6 +304,7 @@ func Supervise(commands []*exec.Cmd) error {
|
|||||||
|
|
||||||
for range c {
|
for range c {
|
||||||
killSupervisedServices()
|
killSupervisedServices()
|
||||||
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user