mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2440 Print a warning if the rpm can't determine the previous configuration for server.xml or tomcat.conf
This commit is contained in:
parent
443534dc72
commit
391bc01a16
|
|
@ -398,6 +398,8 @@ if [ -L $oldserverxml ] ; then
|
|||
if [ -L $serverxml ]; then rm -f $serverxml; fi
|
||||
ln -s %{_sysconfdir}/%{name}/management/server-ssl.xml $serverxml
|
||||
fi
|
||||
else
|
||||
echo "Unable to determine ssl settings for server.xml, please run cloudstack-setup-management manually"
|
||||
fi
|
||||
|
||||
tomcatconf=%{_sysconfdir}/%{name}/management/tomcat6.conf
|
||||
|
|
@ -410,6 +412,8 @@ if [ -L $oldtomcatconf ] ; then
|
|||
if [ -L $tomcatconf ]; then rm -f $tomcatconf; fi
|
||||
ln -s %{_sysconfdir}/%{name}/management/tomcat6-ssl.conf $tomcatconf
|
||||
fi
|
||||
else
|
||||
echo "Unable to determine ssl settings for tomcat.conf, please run cloudstack-setup-management manually"
|
||||
fi
|
||||
|
||||
%preun agent
|
||||
|
|
|
|||
Loading…
Reference in New Issue