code: func RegisterDashboardService(stack *node.Node, cfg *dashboard.Config, commit string) {
  	stack.Register(func(ctx *node.ServiceContext) (node.Service, error) {
  		return dashboard.New(cfg, commit, ctx.ResolvePath("logs")), nil
  	})
  }
docs: // RegisterDashboardService adds a dashboard to the stack.