2016-05-16 15:50:55 +00:00
|
|
|
// +build linux
|
|
|
|
|
2015-07-29 18:25:56 +00:00
|
|
|
package main
|
|
|
|
|
2016-05-16 15:50:55 +00:00
|
|
|
import systemdDaemon "github.com/coreos/go-systemd/daemon"
|
2015-09-23 23:42:08 +00:00
|
|
|
|
|
|
|
// 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")
|
|
|
|
}
|