aboutsummaryrefslogtreecommitdiff
path: root/security/crowdsec/files/pkg-deinstall.in
blob: 4cee7a613b84dea5f6b43541bde7f0efe4ea443c (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

case $2 in
       "DEINSTALL")
               service crowdsec status 2>/dev/null && touch /var/run/crowdsec.running
               service crowdsec stop 2>/dev/null || :
               ;;
esac