mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Restart ipa-webgui in create_instance()
Just in case there is an existing ipa-webgui running before ipa-server-install, restart the instance rather than just starting it. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
parent
4b4b0b4376
commit
4814c0d3f6
@ -24,6 +24,6 @@ class WebGuiInstance(service.Service):
|
||||
service.Service.__init__(self, "ipa-webgui")
|
||||
|
||||
def create_instance(self):
|
||||
self.step("starting ipa-webgui", self.start)
|
||||
self.step("starting ipa-webgui", self.restart)
|
||||
self.step("configuring ipa-webgui to start on boot", self.chkconfig_on)
|
||||
self.start_creation("Configuring ipa-webgui")
|
||||
|
Loading…
Reference in New Issue
Block a user