| 1 |
[Unit] |
| 2 |
Description=The firewall bouncer for CrowdSec |
| •3 |
After=network.target remote-fs.target nss-lookup.target crowdsec.service |
| 4 |
Before=netfilter-persistent.service |
| •5 |
ConditionPathExists=!/var/lib/crowdsec/pending-registration |
| 6 |
|
| 7 |
[Service] |
| 8 |
Type=notify |
| •9 |
ExecStart=/usr/bin/crowdsec-firewall-bouncer -c /etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml |
| 10 |
ExecStartPre=/usr/bin/crowdsec-firewall-bouncer -c /etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml -t |
| 11 |
ExecStartPost=/bin/sleep 0.1 |
| 12 |
|
| 13 |
[Install] |
| 14 |
WantedBy=multi-user.target |
| 15 |
|
| 16 |
|