Skip to content

Commit 5f7bc42

Browse files
committed
Fixed shebang in crowdsec startup script.
1 parent 84ef17b commit 5f7bc42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rootfs/etc/cont-init.d/99_crowdsec-openresty-bouncer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash sh
1+
#!/bin/bash
22
# shellcheck shell=sh
33

44
set -e # Exit immediately if a command exits with a non-zero status.

src/cs-openresty-bouncer/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ curl -# -L "${CROWDSEC_OPENRESTY_BOUNCER_URL}" | tar xz --strip 1 -C /tmp/crowds
3636
log "Deploy Crowdsec Openresty Bouncer..."
3737
cd /tmp/crowdsec-openresty-bouncer
3838
bash ./install.sh --NGINX_CONF_DIR=${ROOTFS}/etc/nginx/conf.d --LIB_PATH=${ROOTFS}/var/lib/nginx/lualib --CONFIG_PATH=${ROOTFS}/defaults/crowdsec/ --DATA_PATH=${ROOTFS}/defaults/crowdsec/ --SSL_CERTS_PATH=/etc/ssl/certs/ca-cert-GTS_Root_R1.pem --docker
39+
sed -i 's|/tmp/crowdsec-openresty-bouncer-install||g' ${ROOTFS}/etc/nginx/conf.d/crowdsec_openresty.conf
3940
sed -i 's|ENABLED=.*|ENABLED=false|' ${ROOTFS}/defaults/crowdsec/crowdsec-openresty-bouncer.conf

0 commit comments

Comments
 (0)