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

Method Status

agent/utils/controller/manager/sysvinit.go:37–39  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

35 return true, nil
36}
37func (s *Sysvinit) Status(serviceName string) (string, error) {
38 return run(s.toolCmd, serviceName, "status")
39}
40
41func (s *Sysvinit) Operate(operate, serviceName string) error {
42 return handlerErr(run(s.toolCmd, serviceName, operate))

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected