mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
4 lines
151 B
Text
4 lines
151 B
Text
if [ "$1" = "purge" ]; then
|
|
find /etc/crowdsec -maxdepth 1 -mindepth 1 | grep -v "bouncer" | xargs rm -rf || echo ""
|
|
rm -rf /var/lib/crowdsec
|
|
fi
|