net-mgmt/zabbix-proxy: use new db file for each version, fixes #1943

This commit is contained in:
Frank Wall
2021-11-18 23:31:46 +01:00
parent 8cab014523
commit 07bce501d3
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -12,6 +12,10 @@ WWW: https://www.zabbix.com/
Plugin Changelog
----------------
1.6
* Fix upgrade path by using a new db file for each version (#1943)
1.5
* Add log file to web GUI (contributed by Starkstromkonsument)
@@ -22,7 +22,7 @@ SourceIP={{ OPNsense.zabbixproxy.general.sourceip }}
{% endif %}
LogFile=/var/log/zabbix/zabbix_proxy.log
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBName=/var/db/zabbix/zabbix_proxy.db
DBName=/var/db/zabbix/%%PLUGIN_VARIANT%%_proxy.db
{% if helpers.exists('OPNsense.zabbixproxy.general.proxyofflinebuffer') and OPNsense.zabbixproxy.general.proxyofflinebuffer != '' %}
ProxyOfflineBuffer={{ OPNsense.zabbixproxy.general.proxyofflinebuffer }}
{% endif %}