MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / Status

Method Status

agent/utils/controller/manager/systemd.go:56–58  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

54}
55
56func (s *Systemd) Status(serviceName string) (string, error) {
57 return run(s.toolCmd, "status", serviceName)
58}
59func (s *Systemd) Operate(operate, serviceName string) error {
60 out, err := run(s.toolCmd, operate, serviceName)
61 if err != nil {

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected