From: Marcin Krol Date: Thu, 20 Jul 2023 15:05:09 +0000 (+0200) Subject: - change default value of run in foreground to false X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=5aa23fba31e4564a1e4abbeffdf81e0c12aec965;p=packages%2Fzabbix.git - change default value of run in foreground to false --- diff --git a/agent2.patch b/agent2.patch new file mode 100644 index 0000000..e29ab11 --- /dev/null +++ b/agent2.patch @@ -0,0 +1,12 @@ +diff -ur zabbix-6.0.19.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go zabbix-6.0.19/src/go/cmd/zabbix_agent2/zabbix_agent2.go +--- zabbix-6.0.19.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2023-06-27 09:11:01.000000000 +0200 ++++ zabbix-6.0.19/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2023-07-20 14:41:48.877278056 +0200 +@@ -220,7 +220,7 @@ + + var foregroundFlag bool + const ( +- foregroundDefault = true ++ foregroundDefault = false + foregroundDescription = "Run Zabbix agent in foreground" + ) + flag.BoolVar(&foregroundFlag, "foreground", foregroundDefault, foregroundDescription)