mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Add a proxy to support 'docker daemon' Fix configFile option, and remove a test that is no longer relevant. Remove daemon build tag. Remove DOCKER_CLIENTONLY from build scripts. Signed-off-by: Daniel Nephin <dnephin@docker.com> Change docker-daemon to dockerd. Signed-off-by: Daniel Nephin <dnephin@docker.com>
12 lines
272 B
Go
12 lines
272 B
Go
package main
|
|
|
|
import (
|
|
systemdDaemon "github.com/coreos/go-systemd/daemon"
|
|
)
|
|
|
|
// notifySystem sends a message to the host when the server is ready to be used
|
|
func notifySystem() {
|
|
// Tell the init daemon we are accepting requests
|
|
go systemdDaemon.SdNotify("READY=1")
|
|
}
|