9 lines
189 B
Text
9 lines
189 B
Text
|
if [ "$1" = "remove" ]; then
|
||
|
cscli dashboard remove -f -y || true
|
||
|
systemctl stop crowdsec
|
||
|
systemctl disable crowdsec
|
||
|
fi
|
||
|
|
||
|
if [ "$1" = "upgrade" ]; then
|
||
|
systemctl stop crowdsec
|
||
|
fi
|