diff options
author | Wolfy-J <[email protected]> | 2019-05-03 12:28:11 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-03 12:28:11 +0300 |
commit | 9b886ceab6a63e8264f2b2c9d35d76628085dbd6 (patch) | |
tree | 5671b75b1e8f04900b54462f6e647a52e0ff6d8b /cmd | |
parent | 62250fde949d2511b1e030c570bafe2ef3ed2c2d (diff) |
added pool watcher capability
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/cmd/stop.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rr/cmd/stop.go b/cmd/rr/cmd/stop.go index 8beee73e..2f48615b 100644 --- a/cmd/rr/cmd/stop.go +++ b/cmd/rr/cmd/stop.go @@ -28,7 +28,7 @@ import ( func init() { CLI.AddCommand(&cobra.Command{ Use: "stop", - Short: "Stop RoadRunner server", + Short: "Detach RoadRunner server", RunE: stopHandler, }) } @@ -43,7 +43,7 @@ func stopHandler(cmd *cobra.Command, args []string) error { util.Printf("<green>Stopping RoadRunner</reset>: ") var r string - if err := client.Call("system.Stop", true, &r); err != nil { + if err := client.Call("system.Detach", true, &r); err != nil { return err } |