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

Method Operate

core/utils/controller/manager/sysvinit.go:44–46  ·  view source on GitHub ↗
(operate, serviceName string)

Source from the content-addressed store, hash-verified

42}
43
44func (s *Sysvinit) Operate(operate, serviceName string) error {
45 return handlerErr(run(s.Client, s.toolCmd, serviceName, operate))
46}
47
48func (s *Sysvinit) Reload() error {
49 return nil

Callers

nothing calls this directly

Calls 2

handlerErrFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected