MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Operate

Method Operate

agent/utils/controller/manager/sysvinit.go:41–43  ·  view source on GitHub ↗
(operate, serviceName string)

Source from the content-addressed store, hash-verified

39}
40
41func (s *Sysvinit) Operate(operate, serviceName string) error {
42 return handlerErr(run(s.toolCmd, serviceName, operate))
43}
44
45func (s *Sysvinit) Reload() error {
46 return nil

Callers

nothing calls this directly

Calls 2

handlerErrFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected