Browse Source

dockerd: update reload signal comment

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Wei Fu 6 years ago
parent
commit
dbb5da7fcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/dockerd/daemon_unix.go

+ 1 - 1
cmd/dockerd/daemon_unix.go

@@ -76,7 +76,7 @@ func (cli *DaemonCli) getPlatformContainerdDaemonOpts() ([]supervisor.DaemonOpt,
 	return opts, nil
 	return opts, nil
 }
 }
 
 
-// setupConfigReloadTrap configures the USR2 signal to reload the configuration.
+// setupConfigReloadTrap configures the SIGHUP signal to reload the configuration.
 func (cli *DaemonCli) setupConfigReloadTrap() {
 func (cli *DaemonCli) setupConfigReloadTrap() {
 	c := make(chan os.Signal, 1)
 	c := make(chan os.Signal, 1)
 	signal.Notify(c, unix.SIGHUP)
 	signal.Notify(c, unix.SIGHUP)