|
@@ -113,7 +113,7 @@ func RunServices(configJSON []byte) error {
|
|
|
|
|
|
|
|
// An OS signal triggers an orderly shutdown
|
|
// An OS signal triggers an orderly shutdown
|
|
|
systemStopSignal := make(chan os.Signal, 1)
|
|
systemStopSignal := make(chan os.Signal, 1)
|
|
|
- signal.Notify(systemStopSignal, os.Interrupt, os.Kill)
|
|
|
|
|
|
|
+ signal.Notify(systemStopSignal, os.Interrupt, os.Kill, syscall.SIGTERM)
|
|
|
|
|
|
|
|
// SIGUSR1 triggers a reload of support services
|
|
// SIGUSR1 triggers a reload of support services
|
|
|
reloadSupportServicesSignal := make(chan os.Signal, 1)
|
|
reloadSupportServicesSignal := make(chan os.Signal, 1)
|