github.com/fabiokung/docker@v0.11.2-0.20170222101415-4534dcd49497/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 // preNotifySystem sends a message to the host when the API is active, but before the daemon is 8 func preNotifySystem() { 9 } 10 11 // notifySystem sends a message to the host when the server is ready to be used 12 func notifySystem() { 13 // Tell the init daemon we are accepting requests 14 go systemdDaemon.SdNotify("READY=1") 15 }