summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index fe3de1c4..4d132da6 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -24,19 +24,12 @@ package main
import (
"github.com/spiral/roadrunner/cmd/rr/cmd"
- "github.com/spiral/roadrunner/service"
- "github.com/spiral/roadrunner/http"
// service plugins
_ "github.com/spiral/roadrunner/cmd/rr/http"
)
-var bus = service.NewBus()
-
func main() {
- // http server with PSR7 support
- bus.Register(&http.Service{})
-
// you can register additional commands using cmd.Root
- cmd.Execute(bus)
+ cmd.Execute()
}