You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/04/09 11:49:34 UTC

[GitHub] rhtyd commented on a change in pull request #2538: Remove deprecated tomcat configuration file instead of moving it, sin���

rhtyd commented on a change in pull request #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
URL: https://github.com/apache/cloudstack/pull/2538#discussion_r180068521
 
 

 ##########
 File path: packaging/centos63/cloud.spec
 ##########
 @@ -454,8 +454,14 @@ if [ -f "%{_sysconfdir}/cloud.rpmsave/management/db.properties" ]; then
     mv %{_sysconfdir}/cloud.rpmsave/management/db.properties %{_sysconfdir}/cloud.rpmsave/management/db.properties.rpmsave
 fi
 
+if [ -f %{_sysconfdir}/sysconfig/%{name}-management ] ; then
+    rm -f %{_sysconfdir}/sysconfig/%{name}-management
+fi
+
 chown -R cloud:cloud /var/log/cloudstack/management
 
+systemctl daemon-reload
 
 Review comment:
   @ernjvr remove the systemctl thing, CentOS6/el6 does not have systemd. No need to reload anything here. Rest is LGTM.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services