Skip to content

Commit

Permalink
remove from prerm too
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Oct 30, 2024
1 parent 428bba4 commit 2a1d427
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions debian/prerm
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
if [ "$1" = "remove" ]; then
cscli dashboard remove -f -y --error || echo "Ignore the above error if you never installed the local dashboard."
systemctl stop crowdsec
systemctl disable crowdsec
fi

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

0 comments on commit 2a1d427

Please sign in to comment.