Files
plugins/security/crowdsec/+PRE_DEINSTALL.pre
2022-05-11 12:07:59 +02:00

8 lines
259 B
Bash
Executable File

#!/bin/sh
# need to temporarily stop the bouncer to remove all the rules
service crowdsec_firewall stop >/dev/null 2>&1 | :
# the rest of the cleanup is done in the post-deinstall script, otherwise
# the plugin recreates the objects during "filter reload".