This commit is contained in:
2024-06-23 18:41:18 +03:00
parent e979127b80
commit 31563e27ad
2 changed files with 2 additions and 3 deletions

View File

@@ -18,8 +18,8 @@ STOPSIGNAL SIGTERM
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/go/bin/zabbix_agent2", "/usr/sbin/zabbix_agent2"]
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_agentd.conf", "/etc/zabbix/zabbix_agent2.conf"]
COPY run.sh /usr/bin/run.sh
RUN chmod a+x /usr/bin/run.sh
COPY run.sh /run.sh
RUN chmod a+x /run.sh
RUN set -eux && \
INSTALL_PKGS="bash \

View File

@@ -1,5 +1,4 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
readonly ZBX_CFG_FILE='/config/zabbix_agent2.conf'
bashio::log.info 'Starting zabbix-agent2...'