github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/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 }