Skip to content

Commit

Permalink
allow ipset to clean up tables when receiving sigterm
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Oct 26, 2023
1 parent 015adae commit 72af906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/crowdsec-firewall-bouncer.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ExecStartPost=/bin/sleep 0.1
Restart=always
RestartSec=10
LimitNOFILE=65536
# don't send a termination signal to the children processes,
# because the iptables backend needs to run ipset multiple times to properly shutdown
KillMode=mixed

[Install]
WantedBy=multi-user.target

0 comments on commit 72af906

Please sign in to comment.