summaryrefslogtreecommitdiff
path: root/packaging/debs
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
commit073e35d593e0ff02ffc8e93a5b20bae08c9ccc8f (patch)
treeb4032bdf0172eca1075b5d230b67f011c645e8ac /packaging/debs
parent2432ffd913eca043ef4df5d894f5d7e03d3410e1 (diff)
downloadrabbitmq-server-git-073e35d593e0ff02ffc8e93a5b20bae08c9ccc8f.tar.gz
Moved user name to the end of the command.
Diffstat (limited to 'packaging/debs')
-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 93d1c09653..05fb179cbf 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