github.com/DaoCloud/dao@v0.0.0-20161212064103-c3dbfd13ee36/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 }