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

Method Status

core/utils/controller/manager/openrc.go:41–43  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected