summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2009-01-09 17:41:44 +0100
committerHubert Plociniczak <hubert@lshift.net>2009-01-09 17:41:44 +0100
commit081bd947d4731f3f9c8cebbf618a4d3efba482aa (patch)
treeb4032bdf0172eca1075b5d230b67f011c645e8ac
parent1057239e68bfde5355b084c7848c8045fedcd9a3 (diff)
downloadrabbitmq-server-bug20096.tar.gz
Moved user name to the end of the command.bug20096
-rw-r--r--packaging/debs/Debian/debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst
index 93d1c096..05fb179c 100644
--- a/packaging/debs/Debian/debian/postinst
+++ b/packaging/debs/Debian/debian/postinst
@@ -26,7 +26,7 @@ fi
# create rabbitmq user
if ! getent passwd rabbitmq >/dev/null; then
adduser --system --ingroup rabbitmq --home /var/lib/rabbitmq \
- --no-create-home rabbitmq --gecos "RabbitMQ messaging server"
+ --no-create-home --gecos "RabbitMQ messaging server" rabbitmq
fi
chown -R rabbitmq:rabbitmq /var/lib/rabbitmq