[openstack-ceilometer] use more efficient systemd interaction

Pádraig Brady pbrady at fedoraproject.org
Fri Oct 10 18:24:07 UTC 2014


commit 1c93906a8c85139bf07c520da801cfb6f20ca7a7
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri Oct 10 19:21:36 2014 +0100

    use more efficient systemd interaction
    
    We can now pass multiple services to each systemd macro.

 openstack-ceilometer.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/openstack-ceilometer.spec b/openstack-ceilometer.spec
index 980e8f1..89229dd 100644
--- a/openstack-ceilometer.spec
+++ b/openstack-ceilometer.spec
@@ -497,8 +497,7 @@ if [ $1 -eq 0 ] ; then
     done
 fi
 %else
-%systemd_preun %{name}-alarm-notifier.service
-%systemd_preun %{name}-alarm-evaluator.service
+%systemd_preun %{name}-alarm-notifier.service %{name}-alarm-evaluator.service
 %endif
 
 %postun compute
@@ -570,8 +569,7 @@ if [ $1 -ge 1 ] ; then
     done
 fi
 %else
-%systemd_postun_with_restart %{name}-alarm-notifier.service
-%systemd_postun_with_restart %{name}-alarm-evaluator.service
+%systemd_postun_with_restart %{name}-alarm-notifier.service %{name}-alarm-evaluator.service
 %endif
 
 


More information about the scm-commits mailing list