github.com/vincentwoo/docker@v0.7.3-0.20160116130405-82401a4b13c0/docker/daemon_linux.go (about)

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