github.com/fntlnz/docker@v1.9.0-rc3/docker/daemon_linux.go (about)

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