$OpenBSD: patch-conf_zabbix_proxy_conf,v 1.10 2020/07/27 14:32:03 jasper Exp $

Index: conf/zabbix_proxy.conf
--- conf/zabbix_proxy.conf.orig
+++ conf/zabbix_proxy.conf
@@ -88,7 +88,7 @@ Hostname=Zabbix proxy
 # Default:
 # LogFile=
 
-LogFile=/tmp/zabbix_proxy.log
+LogFile=/var/log/zabbix/proxy.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
@@ -136,7 +136,7 @@ LogFile=/tmp/zabbix_proxy.log
 #
 # Mandatory: no
 # Default:
-# PidFile=/tmp/zabbix_proxy.pid
+PidFile=/var/run/zabbix/zabbix_proxy.pid
 
 ### Option: SocketDir
 #	IPC socket directory.
@@ -195,6 +195,7 @@ DBUser=zabbix
 # Mandatory: no
 # Default:
 # DBSocket=
+DBSocket=/var/www/var/run/mysql/mysql.sock
 
 # Option: DBPort
 #	Database port when not using local socket. Ignored for SQLite.
@@ -513,6 +514,7 @@ Timeout=4
 # Mandatory: no
 # Default:
 # ExternalScripts=${datadir}/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
 
 ### Option: FpingLocation
 #	Location of fping.
@@ -521,6 +523,7 @@ Timeout=4
 # Mandatory: no
 # Default:
 # FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
 
 ### Option: Fping6Location
 #	Location of fping6.
@@ -530,6 +533,7 @@ Timeout=4
 # Mandatory: no
 # Default:
 # Fping6Location=/usr/sbin/fping6
+Fping6Location=${LOCALBASE}/sbin/fping6
 
 ### Option: SSHKeyLocation
 #	Location of public and private keys for SSH checks and actions.
