dnscrypt-proxy/dnscrypt-proxy/service_linux.go

15 lines
251 B
Go
Raw Normal View History

// +build !android
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")
}