kubo/cmd/ipfs/kubo/daemon_linux.go
2023-12-19 16:23:53 -05:00

17 lines
269 B
Go

//go:build linux
// +build linux
package kubo
import (
daemon "github.com/coreos/go-systemd/v22/daemon"
)
func notifyReady() {
_, _ = daemon.SdNotify(false, daemon.SdNotifyReady)
}
func notifyStopping() {
_, _ = daemon.SdNotify(false, daemon.SdNotifyStopping)
}