13 lines
231 B
Go
13 lines
231 B
Go
|
package main
|
||
|
|
||
|
import "github.com/coreos/go-systemd/daemon"
|
||
|
|
||
|
func ServiceManagerStartNotify() error {
|
||
|
daemon.SdNotify(false, "STATUS=Starting")
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func ServiceManagerReadyNotify() {
|
||
|
daemon.SdNotify(false, "READY=1")
|
||
|
}
|