File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ if [ -f /config/crowdsec/crowdsec-openresty-bouncer.conf ]; then
15
15
if grep -vf /tmp/crowdsec.conf.raw /tmp/config_example.conf.raw ; then
16
16
grep -vf /tmp/crowdsec.conf.raw /tmp/config_example.conf.raw > /tmp/config_example.newvals
17
17
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
19
19
fi
20
20
else
21
21
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
23
23
fi
24
24
# Make sure the config location is where we get the config from instead of /default/
25
25
sed -i ' s|/defaults/crowdsec|/config/crowdsec|' /config/crowdsec/crowdsec-openresty-bouncer.conf
You can’t perform that action at this time.
0 commit comments