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

Function HandleStop

agent/utils/controller/controller.go:62–68  ·  view source on GitHub ↗
(serviceName string)

Source from the content-addressed store, hash-verified

60 return Handle("start", service)
61}
62func HandleStop(serviceName string) error {
63 service, err := LoadServiceName(serviceName)
64 if err != nil {
65 return err
66 }
67 return Handle("stop", service)
68}
69func HandleRestart(serviceName string) error {
70 service, err := LoadServiceName(serviceName)
71 if err != nil {

Callers

nothing calls this directly

Calls 2

LoadServiceNameFunction · 0.70
HandleFunction · 0.70

Tested by

no test coverage detected