MCPcopy
hub / github.com/puma/puma-dev / Stop

Function Stop

dev/stop.go:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "os/exec"
4
5func Stop() error {
6 err := exec.Command("pkill", "-USR1", "puma-dev").Run()
7 if err != nil {
8 return err
9 }
10
11 return nil
12}

Callers 2

mainFunction · 0.92
mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected