diff options
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r-- | cmd/rr/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index dc2fbc20..196bede3 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -24,16 +24,17 @@ package main import ( rr "github.com/spiral/roadrunner/cmd/rr/cmd" - "github.com/spiral/roadrunner/service/watcher" // services (plugins) "github.com/spiral/roadrunner/service/env" "github.com/spiral/roadrunner/service/http" + "github.com/spiral/roadrunner/service/limit" "github.com/spiral/roadrunner/service/rpc" "github.com/spiral/roadrunner/service/static" // additional commands and debug handlers _ "github.com/spiral/roadrunner/cmd/rr/http" + _ "github.com/spiral/roadrunner/cmd/rr/limit" ) func main() { @@ -41,7 +42,7 @@ func main() { rr.Container.Register(rpc.ID, &rpc.Service{}) rr.Container.Register(http.ID, &http.Service{}) rr.Container.Register(static.ID, &static.Service{}) - rr.Container.Register(watcher.ID, &watcher.Service{}) + rr.Container.Register(limit.ID, &limit.Service{}) // you can register additional commands using cmd.CLI rr.Execute() |