parent
b3255921af
commit
37892be635
|
@ -110,8 +110,8 @@ func (g *Manager) handleSignals(ctx context.Context) {
|
||||||
case sig := <-signalChannel:
|
case sig := <-signalChannel:
|
||||||
switch sig {
|
switch sig {
|
||||||
case syscall.SIGHUP:
|
case syscall.SIGHUP:
|
||||||
log.Info("PID: %d. Received SIGHUP. Attempting GracefulShutdown...", pid)
|
log.Info("PID: %d. Received SIGHUP. Attempting GracefulRestart...", pid)
|
||||||
g.DoGracefulShutdown()
|
g.DoGracefulRestart()
|
||||||
case syscall.SIGUSR1:
|
case syscall.SIGUSR1:
|
||||||
log.Info("PID %d. Received SIGUSR1.", pid)
|
log.Info("PID %d. Received SIGUSR1.", pid)
|
||||||
case syscall.SIGUSR2:
|
case syscall.SIGUSR2:
|
||||||
|
|
Loading…
Reference in New Issue