diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2009-01-09 01:28:24 +0100 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2009-01-09 01:28:24 +0100 |
commit | 1057239e68bfde5355b084c7848c8045fedcd9a3 (patch) | |
tree | 5275d4d2351d87aa54519f57b1d356efccf9fd97 /packaging/debs/Debian/debian/postinst | |
parent | 98a812b0bc541e7ebc39908f4395f90dc4ba1f78 (diff) | |
download | rabbitmq-server-1057239e68bfde5355b084c7848c8045fedcd9a3.tar.gz |
Use --gecos option in adduser to add user's comments field,
instead of running usermod.
Diffstat (limited to 'packaging/debs/Debian/debian/postinst')
-rw-r--r-- | packaging/debs/Debian/debian/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst index 495b8331..93d1c096 100644 --- a/packaging/debs/Debian/debian/postinst +++ b/packaging/debs/Debian/debian/postinst @@ -25,8 +25,8 @@ fi # create rabbitmq user if ! getent passwd rabbitmq >/dev/null; then - adduser --system --ingroup rabbitmq --home /var/lib/rabbitmq --no-create-home rabbitmq - usermod -c "RabbitMQ messaging server" rabbitmq + adduser --system --ingroup rabbitmq --home /var/lib/rabbitmq \ + --no-create-home rabbitmq --gecos "RabbitMQ messaging server" fi chown -R rabbitmq:rabbitmq /var/lib/rabbitmq |