crowdsec/debian/prerm

8 lines
150 B
Text

if [ "$1" = "remove" ]; then
systemctl stop crowdsec
systemctl disable crowdsec
fi
if [ "$1" = "upgrade" ]; then
systemctl stop crowdsec
fi