diff -urN zabbix-6.2.0rc1.orig/src/go/conf/zabbix_agent2.conf zabbix-6.2.0rc1/src/go/conf/zabbix_agent2.conf
--- zabbix-6.2.0rc1.orig/src/go/conf/zabbix_agent2.conf 2022-06-17 15:12:53.347314289 +0300
+++ zabbix-6.2.0rc1/src/go/conf/zabbix_agent2.conf 2022-06-17 15:13:18.402810532 +0300
@@ -10,7 +10,7 @@
# Default:
# PidFile=/tmp/zabbix_agent2.pid
-PidFile=/run/zabbix/zabbix_agent2.pid
+PidFile=/var/run/zabbix/zabbix_agent2.pid
### Option: LogType
# Specifies where log messages are written to: