diff options
author | Nick Thomas <nick@gitlab.com> | 2017-02-20 19:02:09 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-02-20 19:02:09 +0300 |
commit | ab1ece95be19539748dd464caea00014593a409e (patch) | |
tree | dc62fc0b27522725bcbf90cb71e903a84f7965ba /daemon.go | |
parent | df21a0d0a80583f4c4a0fe31a0c5f4e907f5f5a7 (diff) |
Pass the metrics address fd to the child process
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |