diff options
Diffstat (limited to 'ipaserver/install/cainstance.py')
-rw-r--r-- | ipaserver/install/cainstance.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index 64175e482..56b84fcd8 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -385,6 +385,9 @@ class CADSInstance(service.Service): enabled = self.restore_state("enabled") serverid = self.restore_state("serverid") + # Just eat this state if it exists + running = self.restore_state("running") + if not enabled is None and not enabled: ipaservices.knownservices.dirsrv.disable() |