Skip to content

Commit 123473c

Browse files
committed
Fixed bad file name.
1 parent b80a182 commit 123473c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ if [ -f /config/crowdsec/crowdsec-openresty-bouncer.conf ]; then
1515
if grep -vf /tmp/crowdsec.conf.raw /tmp/config_example.conf.raw ; then
1616
grep -vf /tmp/crowdsec.conf.raw /tmp/config_example.conf.raw > /tmp/config_example.newvals
1717
cp /config/crowdsec/crowdsec-openresty-bouncer.conf /config/crowdsec/crowdsec-openresty-bouncer.conf.bak
18-
grep -f /tmp/config_example.newvals /defaults/crowdsec/config_example.conf >> /config/crowdsec/crowdsec-openresty-bouncer.conf
18+
grep -f /tmp/config_example.newvals /defaults/crowdsec/crowdsec-openresty-bouncer.conf >> /config/crowdsec/crowdsec-openresty-bouncer.conf
1919
fi
2020
else
2121
echo "Deploy new crowdsec-openresty-bouncer.conf .."
22-
cp /defaults/crowdsec/config_example.conf /config/crowdsec/crowdsec-openresty-bouncer.conf
22+
cp /defaults/crowdsec/crowdsec-openresty-bouncer.conf /config/crowdsec/crowdsec-openresty-bouncer.conf
2323
fi
2424
#Make sure the config location is where we get the config from instead of /default/
2525
sed -i 's|/defaults/crowdsec|/config/crowdsec|' /config/crowdsec/crowdsec-openresty-bouncer.conf

0 commit comments

Comments
 (0)