reg/vendor/github.com/docker/docker-ce/components/engine/cmd/dockerd/daemon_linux.go
Jess Frazelle 8e5eba8735
switch to dep
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 14:50:55 -05:00

16 lines
415 B
Go

// +build linux
package main
import systemdDaemon "github.com/coreos/go-systemd/daemon"
// preNotifySystem sends a message to the host when the API is active, but before the daemon is
func preNotifySystem() {
}
// 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(false, "READY=1")
}