This commit is contained in:
2024-06-23 20:32:33 +03:00
parent 78e319afe5
commit 8403a15fa4
3 changed files with 10 additions and 2 deletions

View File

@@ -9,4 +9,5 @@ if ! bashio::fs.file_exists "${ZBX_CFG_FILE}" || [ -z "$(ls -A ${ZBX_CFG_FILE})"
fi
# Run zabbix-agent2 in foreground
zabbix_agent2 --foreground -c /config/zabbix_agent2.conf
# zabbix_agent2 --foreground -c /config/zabbix_agent2.conf
exec /etc/services.d/zabbix_agent2/run