github.com/flavio/docker@v0.1.3-0.20170117145210-f63d1a6eec47/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  }