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

Method Status

core/utils/controller/manager/systemd.go:60–62  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

58}
59
60func (s *Systemd) Status(serviceName string) (string, error) {
61 return run(s.Client, s.toolCmd, "status", serviceName)
62}
63func (s *Systemd) Operate(operate, serviceName string) error {
64 out, err := run(s.Client, s.toolCmd, operate, serviceName)
65 if err != nil {

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected