[openstack-cinder] Restart/remove backup svc during upgrade/uninstall
Eric Harney
eharney at fedoraproject.org
Thu Oct 17 17:24:20 UTC 2013
commit 9867fd47d492710cf2acad3a2f1faa6be436be4e
Author: Eric Harney <eharney at redhat.com>
Date: Thu Oct 17 12:05:22 2013 -0400
Restart/remove backup svc during upgrade/uninstall
openstack-cinder.spec | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/openstack-cinder.spec b/openstack-cinder.spec
index 45aaee5..c6839a9 100644
--- a/openstack-cinder.spec
+++ b/openstack-cinder.spec
@@ -243,7 +243,7 @@ fi
%preun
if [ $1 -eq 0 ] ; then
- for svc in volume api scheduler; do
+ for svc in volume api scheduler backup; do
/bin/systemctl --no-reload disable openstack-cinder-${svc}.service > /dev/null 2>&1 || :
/bin/systemctl stop openstack-cinder-${svc}.service > /dev/null 2>&1 || :
done
@@ -253,7 +253,7 @@ fi
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
- for svc in volume api scheduler; do
+ for svc in volume api scheduler backup; do
/bin/systemctl try-restart openstack-cinder-${svc}.service >/dev/null 2>&1 || :
done
fi
@@ -297,6 +297,7 @@ fi
%changelog
* Thu Oct 17 2013 Eric Harney <eharney at redhat.com> - 2013.2-1
- Update to 2013.2 (Havana)
+- Restart/remove cinder-backup service during upgrade/uninstallation
* Wed Oct 16 2013 Eric Harney <eharney at redhat.com> - 2013.2-0.13.rc3
- Update to Havana RC3
More information about the scm-commits
mailing list