Don't try to conditionally stop the server - it doesn't seem to work

Just call stop() - if it's not already running, no big deal
This commit is contained in:
Rich Megginson
2008-10-03 14:11:14 -06:00
committed by Rob Crittenden
parent 28195610f6
commit 38154073a8

View File

@@ -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)