summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-11-16 13:19:00 +0000
committerMatthew Sackman <matthew@lshift.net>2009-11-16 13:19:00 +0000
commitfbbcb18fd5cdd925b8f8c92b31f07d381d4bf056 (patch)
tree6566c49bfdcd8954b7ff8634712e8824cf6a8dba /packaging/debs
parent5219ddbda778d0351d133c482f7a054f28043008 (diff)
parent92a780eb6ceb5e97cff03dd31e336955dc56f3ab (diff)
downloadrabbitmq-server-git-fbbcb18fd5cdd925b8f8c92b31f07d381d4bf056.tar.gz
merging bug 21903 into default
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/debian/postrm.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/postrm.in b/packaging/debs/Debian/debian/postrm.in
index fc15e034be..bfcf1f530e 100644
--- a/packaging/debs/Debian/debian/postrm.in
+++ b/packaging/debs/Debian/debian/postrm.in
@@ -40,6 +40,9 @@ case "$1" in
rm -f @RABBIT_LIB@/ebin/rabbit.$ext
done
if getent passwd rabbitmq >/dev/null; then
+ # Stop epmd if run by the rabbitmq user
+ pkill -u rabbitmq epmd || :
+
deluser rabbitmq
fi
if getent group rabbitmq >/dev/null; then