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

Method Status

core/utils/controller/manager/sysvinit.go:40–42  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected