Skip to content
Snippets Groups Projects

Pass the metrics address fd to the child process

Merged Nick Thomas requested to merge nick.thomas/gitlab-pages:fix-missing-fd into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -205,6 +205,7 @@ func daemonize(config appConfig, uid, gid uint) {
daemonUpdateFds(cmd, config.ListenHTTP)
daemonUpdateFds(cmd, config.ListenHTTPS)
daemonUpdateFds(cmd, config.ListenProxy)
config.ListenMetrics = daemonUpdateFd(cmd, config.ListenMetrics)
// Start the process
if err = cmd.Start(); err != nil {
Loading