-diff -ur zabbix-6.0.25.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go zabbix-6.0.25/src/go/cmd/zabbix_agent2/zabbix_agent2.go
---- zabbix-6.0.25.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2024-01-10 22:41:47.019454142 +0100
-+++ zabbix-6.0.25/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2024-01-10 22:42:09.871740595 +0100
-@@ -230,7 +230,7 @@
-
- var foregroundFlag bool
- const (
-- foregroundDefault = true
-+ foregroundDefault = false
- foregroundDescription = "Run Zabbix agent in foreground"
- )
- flag.BoolVar(&foregroundFlag, "foreground", foregroundDefault, foregroundDescription)
+diff -ur zabbix-6.0.28.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go zabbix-6.0.28/src/go/cmd/zabbix_agent2/zabbix_agent2.go
+--- zabbix-6.0.28.orig/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2024-04-04 17:12:19.513414181 +0200
++++ zabbix-6.0.28/src/go/cmd/zabbix_agent2/zabbix_agent2.go 2024-04-04 17:28:27.146405319 +0200
+@@ -646,7 +646,7 @@
+ Shorthand: "f",
+ Description: "Run Zabbix agent in foreground",
+ },
+- Default: true,
++ Default: false,
+ Dest: &args.foreground,
+ },
+ &zbxflag.StringFlag{
Summary: Zabbix - network monitoring software
Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
Name: zabbix
-Version: 6.0.25
+Version: 6.0.28
Release: 1
License: GPL v2+
Group: Networking/Utilities
Source0: https://cdn.zabbix.com/zabbix/sources/stable/6.0/%{name}-%{version}.tar.gz
-# Source0-md5: 510cb7207048414b71b4fecc9aa50b6b
+# Source0-md5: 7c73d9ebf24c1a97c5201c10464e5160
Source1: %{name}-apache.conf
Source2: %{name}_agentd.init
Source3: %{name}_server.init