初始化仓库
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//go:build !linux && !darwin && !windows
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func newPlatformManager() (Manager, error) {
|
||||
return nil, fmt.Errorf("daemon management is not supported on %s; use a process manager (e.g. nssm, pm2) instead", runtime.GOOS)
|
||||
}
|
||||
|
||||
// CheckLinger is a no-op on unsupported platforms (always returns false).
|
||||
func CheckLinger() (enabled bool, user string) {
|
||||
return false, ""
|
||||
}
|
||||
Reference in New Issue
Block a user