Rename crowdsec firewall bouncer

This commit is contained in:
SebastianStork 2025-06-02 19:35:16 +02:00
parent d2b73e1e9d
commit 22bdc1d19b

View file

@ -24,8 +24,8 @@ in
}; };
systemd.services.crowdsec.preStart = '' systemd.services.crowdsec.preStart = ''
if ! cscli bouncers list | grep -q "firewall-bouncer"; then if ! cscli bouncers list | grep -q "firewall"; then
cscli bouncers add "firewall-bouncer" --key "cs-firewall-bouncer" cscli bouncers add "firewall" --key "cs-firewall-bouncer"
fi fi
''; '';
}; };