Commit 5460ba68 authored by Geoff Simmons's avatar Geoff Simmons

Terminate the controller on SIGINT (in addition to SIGTERM).

parent 44623b9b
...@@ -216,7 +216,7 @@ func handleTermination( ...@@ -216,7 +216,7 @@ func handleTermination(
varnishDone chan error) { varnishDone chan error) {
signalChan := make(chan os.Signal, 1) signalChan := make(chan os.Signal, 1)
signal.Notify(signalChan, syscall.SIGTERM) signal.Notify(signalChan, syscall.SIGTERM, syscall.SIGINT)
exitStatus := 0 exitStatus := 0
exited := false exited := false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment