docker/daemon_linux.go
26c03d56
 // +build daemon
 
 package main
 
 import (
da982cf5
 	systemdDaemon "github.com/coreos/go-systemd/daemon"
26c03d56
 )
da982cf5
 
 // 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")
 }