From db382693199338e9f02729254e3ec2e9f52bab81 Mon Sep 17 00:00:00 2001 From: mezned Date: Sun, 10 Nov 2024 12:33:47 +0100 Subject: [PATCH] update --- promtail/Dockerfile | 4 ++-- promtail/rootfs/etc/services.d/promtail/run | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/promtail/Dockerfile b/promtail/Dockerfile index d8aad4d..bde5651 100644 --- a/promtail/Dockerfile +++ b/promtail/Dockerfile @@ -43,8 +43,8 @@ RUN case "${BUILD_ARCH}" in \ RUN apk add --no-cache curl tar unzip; \ curl -LO "https://github.com/grafana/loki/releases/download/v${PROMTAIL_VERSION}/promtail-linux-amd64.zip"; \ unzip promtail-linux-amd64.zip; \ - mv promtail-linux-amd64 /usr/bin/promtail; \ - chmod +x /usr/bin/promtail; \ + mv promtail-linux-amd64 /data/promtail; \ + chmod +x /data/promtail; \ rm promtail-linux-amd64.zip; WORKDIR /data/promtail diff --git a/promtail/rootfs/etc/services.d/promtail/run b/promtail/rootfs/etc/services.d/promtail/run index d5f6a71..813bcea 100644 --- a/promtail/rootfs/etc/services.d/promtail/run +++ b/promtail/rootfs/etc/services.d/promtail/run @@ -37,4 +37,4 @@ if [ "${log_level}" == "debug" ]; then fi bashio::log.info "Handing over control to Promtail..." -/usr/bin/promtail "${promtail_args[@]}" +/data/promtail "${promtail_args[@]}"