From 09d5fccfa93b7556132174956d24895a68a8abf7 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sun, 12 Feb 2023 16:52:01 +0000 Subject: [PATCH] Fix tarball path --- root/etc/cont-init.d/98-crowdsec | 2 +- root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/cont-init.d/98-crowdsec b/root/etc/cont-init.d/98-crowdsec index b55104d..0004d0b 100644 --- a/root/etc/cont-init.d/98-crowdsec +++ b/root/etc/cont-init.d/98-crowdsec @@ -32,7 +32,7 @@ curl -so \ mkdir -p /tmp/crowdsec -if ! tar -tzf /crowdsec.tar.gz >/dev/null 2>&1; then +if ! tar -tzf /tmp/crowdsec.tar.gz >/dev/null 2>&1; then echo "**** Invalid tarball, could not download crowdsec bouncer ****" exit 1 fi diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run b/root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run index 8b6eb42..6c76613 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run @@ -32,7 +32,7 @@ curl -so \ mkdir -p /tmp/crowdsec -if ! tar -tzf /crowdsec.tar.gz >/dev/null 2>&1; then +if ! tar -tzf /tmp/crowdsec.tar.gz >/dev/null 2>&1; then echo "**** Invalid tarball, could not download crowdsec bouncer ****" exit 1 fi