crowdsec/debian/postrm
2022-10-20 16:43:34 +01:00

5 lines
151 B
Plaintext

if [ "$1" = "purge" ]; then
find /etc/crowdsec -maxdepth 1 -mindepth 1 | grep -v "bouncer" | xargs rm -rf || echo ""
rm -rf /var/lib/crowdsec
fi