Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2024 14:17:24 GMT
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9ed9383601bf - main - net-mgmt/alertmanager: Make daemon close file descriptors on start
Message-ID:  <202407121417.46CEHOZc082655@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by grembo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ed9383601bf09428e220e755dcee344f2cbb9df

commit 9ed9383601bf09428e220e755dcee344f2cbb9df
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2024-07-12 13:41:43 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-07-12 14:16:02 +0000

    net-mgmt/alertmanager: Make daemon close file descriptors on start
    
    Prevents alertmanager from hanging in piperd.
    
    PR:             279862
    Approved by:    maintainer timeout
---
 net-mgmt/alertmanager/files/alertmanager.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mgmt/alertmanager/files/alertmanager.in b/net-mgmt/alertmanager/files/alertmanager.in
index 6dd39aea2e9d..e8b61ed9dba4 100644
--- a/net-mgmt/alertmanager/files/alertmanager.in
+++ b/net-mgmt/alertmanager/files/alertmanager.in
@@ -43,7 +43,7 @@ command="/usr/sbin/daemon"
 procname="%%PREFIX%%/bin/alertmanager"
 sig_reload=HUP
 extra_commands="reload"
-command_args="-o ${alertmanager_log_file} -p ${pidfile} ${procname} \
+command_args="-f -o ${alertmanager_log_file} -p ${pidfile} ${procname} \
                 --config.file=${alertmanager_config} \
                 --storage.path=${alertmanager_data_dir} \
                 ${alertmanager_args}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407121417.46CEHOZc082655>