3b5fac462d
The LXC driver was deprecated in Docker 1.8. Following the deprecation rules, we can remove a deprecated feature after two major releases. LXC won't be supported anymore starting on Docker 1.10. Signed-off-by: David Calavera <david.calavera@gmail.com>
13 lines
290 B
Go
13 lines
290 B
Go
// +build daemon
|
|
|
|
package main
|
|
|
|
import (
|
|
systemdDaemon "github.com/coreos/go-systemd/daemon"
|
|
)
|
|
|
|
// notifySystem sends a message to the host when the server is ready to be used
|
|
func notifySystem() {
|
|
// Tell the init daemon we are accepting requests
|
|
go systemdDaemon.SdNotify("READY=1")
|
|
}
|