cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ro...@apache.org
Subject [cloudstack] branch 4.12 updated: packaging: systemctl daemon-reload after agent install or upgrade (#3269)
Date Tue, 09 Apr 2019 08:52:43 GMT
This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.12
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.12 by this push:
     new 96611fc  packaging: systemctl daemon-reload after agent install or upgrade (#3269)
     new 9488c6d  Merge remote-tracking branch 'origin/4.11' into 4.12
96611fc is described below

commit 96611fc64004fe9570c62ed2f6f5b200b32e75ab
Author: Rohit Yadav <rohit@apache.org>
AuthorDate: Tue Apr 9 14:21:09 2019 +0530

    packaging: systemctl daemon-reload after agent install or upgrade (#3269)
    
    This runs systemctl daemon-reload after cloudstack-agent is installed
    or upgraded.
    
    Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
---
 packaging/centos7/cloud.spec | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/packaging/centos7/cloud.spec b/packaging/centos7/cloud.spec
index 1452080..cb07e2b 100644
--- a/packaging/centos7/cloud.spec
+++ b/packaging/centos7/cloud.spec
@@ -436,6 +436,8 @@ if [ -f "%{_sysconfdir}/cloud.rpmsave/agent/agent.properties" ]; then
     mv %{_sysconfdir}/cloud.rpmsave/agent/agent.properties %{_sysconfdir}/cloud.rpmsave/agent/agent.properties.rpmsave
 fi
 
+systemctl daemon-reload
+
 %pre usage
 id cloud > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user"
\
      -r -s /bin/sh -d %{_localstatedir}/cloudstack/management cloud|| true


Mime
View raw message