summaryrefslogtreecommitdiff
path: root/cmd/rr
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr')
-rw-r--r--cmd/rr/main.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 336aeddd..fe3de1c4 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -26,14 +26,12 @@ 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.Bus
-
-func init() {
- bus = service.NewBus()
-}
+var bus = service.NewBus()
func main() {
// http server with PSR7 support