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:
commit
2fc3480222
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue