github.com/olljanat/moby@v1.13.1/cmd/dockerd/daemon_linux.go (about)

     1  // +build linux
     2  
     3  package main
     4  
     5  import systemdDaemon "github.com/coreos/go-systemd/daemon"
     6  
     7  // notifySystem sends a message to the host when the server is ready to be used
     8  func notifySystem() {
     9  	// Tell the init daemon we are accepting requests
    10  	go systemdDaemon.SdNotify("READY=1")
    11  }