summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-02-17 11:56:49 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-02-17 11:56:49 +0000
commit68195be9eeb8e7ee4889f95074da4da344e09b65 (patch)
tree13377b4ca6b8b9e7895853af1fb0e9314d71601a /packaging/debs
parent9b3035c005223eeb0dadaa52dc5666c5c900d074 (diff)
parent49b3f4ff64291e13524cf16f66bc5c991f94091e (diff)
downloadrabbitmq-server-git-68195be9eeb8e7ee4889f95074da4da344e09b65.tar.gz
Merging default into bug23657
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)