Ai
1 Star 0 Fork 0

filecoin-project/go-ipfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
daemon_linux.go 252 Bytes
一键复制 编辑 原始数据 按行查看 历史
Steven Allen 提交于 2020-01-17 07:40 +08:00 . chore(dep): update deps
// +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)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ipfs2/go-ipfs.git
git@gitee.com:ipfs2/go-ipfs.git
ipfs2
go-ipfs
go-ipfs
master

搜索帮助