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

Merge branch 'fix-missing-fd' into 'master'

Pass the metrics address fd to the child process

Closes #44

See merge request !13
parents 84e12711 ab1ece95
No related branches found
No related tags found
1 merge request!13Pass the metrics address fd to the child process
Pipeline #
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