summaryrefslogtreecommitdiff
path: root/packaging/RPMS/Fedora/rabbitmq-server.spec
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
commit3451aebcf8a8cf04ee24ea28665454c3920d7637 (patch)
tree13377b4ca6b8b9e7895853af1fb0e9314d71601a /packaging/RPMS/Fedora/rabbitmq-server.spec
parentcf199c4ed528fc93faf86964c84f9484d4a769da (diff)
parent9c35ddb67e49f4f2c146bc3d9ba30e18a4f67345 (diff)
downloadrabbitmq-server-3451aebcf8a8cf04ee24ea28665454c3920d7637.tar.gz
Merging default into bug23657bug23657
Diffstat (limited to 'packaging/RPMS/Fedora/rabbitmq-server.spec')
-rw-r--r--packaging/RPMS/Fedora/rabbitmq-server.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec
index 6a9ce6f5..009d5299 100644
--- a/packaging/RPMS/Fedora/rabbitmq-server.spec
+++ b/packaging/RPMS/Fedora/rabbitmq-server.spec
@@ -91,6 +91,9 @@ fi
%post
/sbin/chkconfig --add %{name}
+if [ -f %{_sysconfdir}/rabbitmq/rabbitmq.conf ] && [ ! -f %{_sysconfdir}/rabbitmq/rabbitmq-env.conf ]; then
+ mv %{_sysconfdir}/rabbitmq/rabbitmq.conf %{_sysconfdir}/rabbitmq/rabbitmq-env.conf
+fi
%preun
if [ $1 = 0 ]; then