summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorMarek Majkowski <marek@rabbitmq.com>2011-02-16 17:44:57 +0000
committerMarek Majkowski <marek@rabbitmq.com>2011-02-16 17:44:57 +0000
commit90eab55daaa93e2f986627e680fda4fe072dd7e3 (patch)
tree0136263cbe568d0b2ed33ba69b34c6fa95d565bb /packaging/debs
parent8b17365e74f87a761f79a3a3d7ab7e537b6a3792 (diff)
parent71e720a3756155d453bc0206139030107ca2615d (diff)
downloadrabbitmq-server-git-90eab55daaa93e2f986627e680fda4fe072dd7e3.tar.gz
bug21741 merged into default
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/debian/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst
index 134f16ee1b..b11340ef8a 100644
--- a/packaging/debs/Debian/debian/postinst
+++ b/packaging/debs/Debian/debian/postinst
@@ -35,6 +35,10 @@ chown -R rabbitmq:rabbitmq /var/log/rabbitmq
case "$1" in
configure)
+ if [ -f /etc/rabbitmq/rabbitmq.conf ] && \
+ [ ! -f /etc/rabbitmq/rabbitmq-env.conf ]; then
+ mv /etc/rabbitmq/rabbitmq.conf /etc/rabbitmq/rabbitmq-env.conf
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)