aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private/internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/internal.go')
-rw-r--r--routers/private/internal.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/routers/private/internal.go b/routers/private/internal.go
index 913a52e404..b68a96c641 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -89,5 +89,9 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/hook/set-default-branch/:owner/:repo/:branch", SetDefaultBranch)
m.Get("/serv/none/:keyid", ServNoCommand)
m.Get("/serv/command/:keyid/:owner/:repo", ServCommand)
+ m.Post("/manager/shutdown", Shutdown)
+ m.Post("/manager/restart", Restart)
+ m.Post("/manager/flush-queues", bind(private.FlushOptions{}), FlushQueues)
+
}, CheckInternalToken)
}