summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipa-server/ipaserver/dsinstance.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py
index 2d3f78ace..1dae1b6ca 100644
--- a/ipa-server/ipaserver/dsinstance.py
+++ b/ipa-server/ipaserver/dsinstance.py
@@ -458,10 +458,7 @@ class DsInstance(service.Service):
return False
# ok - ca cert file can be read
# shutdown the server
- running = self.restore_state("running")
-
- if not running is None:
- self.stop()
+ self.stop()
dirname = config_dirname(realm_to_serverid(self.realm_name))
certdb = certs.CertDB(dirname)