mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Rob Crittenden
parent
28195610f6
commit
38154073a8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user