1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00
Files
kubo/cmd/ipfs/daemon_linux.go
Steven Allen c2d1f3a6a3 chore(dep): update deps
Update all deps.
2020-01-28 21:20:17 -08:00

16 lines
252 B
Go

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