You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CrowdSec Firewall Bouncer not starting after reboot #90
CrowdSec Firewall Bouncer doesn't start after system reboot due to a race condition.
Fix:
sudo vim /etc/systemd/system/crowdsec-firewall-bouncer.service.d/override.conf
add these line:
[Service]
Restart=always
RestartSec=5
then run
sudo systemctl daemon-reexec
sudo systemctl daemon-reload
and test a reboot sudo reboot now
Steps to Reproduce
install CrowdSec Firewall Bouncer
reboot
check service status, it will say dead
Expected Behavior
the service to run after reboot
Actual Behavior
service tries to start and fails
Relevant Logs
Additional Context
No response
Pre-submission Checklist
I have searched existing issues and this hasn't been reported yet.
sudo vim /etc/systemd/system/crowdsec-firewall-bouncer.service.d/override.conf returns [ Directory '/etc/systemd/system/crowdsec-firewall-bouncer.service.d' does not exist ] despite the service showing running in the deployrr menu.
systemctl shows that it is running... crowdsec-firewall-bouncer.service loaded active running The firewall bouncer for CrowdSec
Activity
FloTexaTenn commentedon May 28, 2026
sudo vim /etc/systemd/system/crowdsec-firewall-bouncer.service.d/override.confreturns[ Directory '/etc/systemd/system/crowdsec-firewall-bouncer.service.d' does not exist ]despite the service showing running in the deployrr menu.systemctlshows that it is running...crowdsec-firewall-bouncer.service loaded active running The firewall bouncer for CrowdSecFloTexaTenn commentedon May 28, 2026
I can now confirm that creating the directory first works. Here are the steps:
Create the drop-in directory
sudo mkdir -p /etc/systemd/system/crowdsec-firewall-bouncer.service.d/Create the override.conf
sudo nano /etc/systemd/system/crowdsec-firewall-bouncer.service.d/override.confAdd the following lines:
[Service]
Restart=always
RestartSec=5
sudo systemctl daemon-reexecsudo systemctl daemon-reloadThanks, @g0ldfngr!