Move the pki-tomcat restart to cainstance creation

pki-tomcat would have been restarted in install and replicainstall
for backward compatibility reasons. As Dogtag 9 is not supported
anymore, we can move this restart only for DL0 replica installation.

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Stanislav Laznicka
2016-11-07 09:48:52 +01:00
committed by Jan Cholasta
parent bde1d82ebe
commit ba4df6449a
3 changed files with 13 additions and 6 deletions

View File

@@ -935,9 +935,6 @@ def install(installer):
service.print_msg("Restarting the KDC")
krb.restart()
if config.setup_ca:
services.knownservices['pki_tomcatd'].restart('pki-tomcat')
if options.setup_dns:
dns.install(False, True, options)
else: