summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-17 19:13:15 +0300
committerValery Piashchynski <[email protected]>2020-02-17 19:13:15 +0300
commit50b46c8d3c0e1f13623e2cd7cbb1302ae66ed308 (patch)
tree71f1ac71fe3e5bf024b199136584e601016ac0c7 /cmd
parent25ef7646e2149b6e35945eb4ce50c19db2ef8e27 (diff)
Add reload service
Start to implement Watcher
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index ef393426..46431e49 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -24,6 +24,7 @@ package main
import (
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
+ "github.com/spiral/roadrunner/service/reload"
// services (plugins)
"github.com/spiral/roadrunner/service/env"
@@ -51,6 +52,7 @@ func main() {
rr.Container.Register(limit.ID, &limit.Service{})
rr.Container.Register(health.ID, &health.Service{})
rr.Container.Register(gzip.ID, &gzip.Service{})
+ rr.Container.Register(reload.ID, &reload.Service{})
// you can register additional commands using cmd.CLI
rr.Execute()