Skip to content
Snippets Groups Projects
Commit ab1ece95 authored by Nick Thomas's avatar Nick Thomas
Browse files

Pass the metrics address fd to the child process

parent df21a0d0
No related branches found
No related tags found
1 merge request!13Pass the metrics address fd to the child process
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment