集群可以设置systemd系统服务

This commit is contained in:
刘祥超
2021-01-11 18:16:15 +08:00
parent 0f8e89ab97
commit 6fd9fefb8f
11 changed files with 711 additions and 9 deletions

View File

@@ -0,0 +1,18 @@
// +build !linux,!windows
package utils
// 安装服务
func (this *ServiceManager) Install(exePath string, args []string) error {
return nil
}
// 启动服务
func (this *ServiceManager) Start() error {
return nil
}
// 删除服务
func (this *ServiceManager) Uninstall() error {
return nil
}