1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #39492 from fuweid/me-update-reload-comment

dockerd: update reload signal comment
This commit is contained in:
Yong Tang 2019-07-11 07:27:58 -07:00 committed by GitHub
commit 2fc3480222
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ func (cli *DaemonCli) getPlatformContainerdDaemonOpts() ([]supervisor.DaemonOpt,
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() {
c := make(chan os.Signal, 1)
signal.Notify(c, unix.SIGHUP)