Skip to content

Commit

Permalink
backport of commit fe7f56b (#23227)
Browse files Browse the repository at this point in the history
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
  • Loading branch information
1 parent 009b9bf commit 5bf9c25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,10 @@ func (c *ServerCommand) InitListeners(config *server.Config, disableClustering b
}
props["max_request_duration"] = lnConfig.MaxRequestDuration.String()

if lnConfig.ChrootNamespace != "" {
props["chroot_namespace"] = lnConfig.ChrootNamespace
}

lns = append(lns, listenerutil.Listener{
Listener: ln,
Config: lnConfig,
Expand Down

0 comments on commit 5bf9c25

Please sign in to comment.