service_linux.go 231 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
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")
}