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 4, 2024
1 parent c4a3d54 commit 47368f0
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 47368f0

Please sign in to comment.