mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipaplatform/debian/services: Fix is_running arguments.
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
ca5b53adcc
commit
1a47fcd3ee
@ -72,7 +72,7 @@ class DebianSysvService(base_services.PlatformService):
|
|||||||
if wait and self.is_running(instance_name):
|
if wait and self.is_running(instance_name):
|
||||||
self.__wait_for_open_ports(instance_name)
|
self.__wait_for_open_ports(instance_name)
|
||||||
|
|
||||||
def is_running(self, instance_name=""):
|
def is_running(self, instance_name="", wait=True):
|
||||||
ret = True
|
ret = True
|
||||||
try:
|
try:
|
||||||
result = ipautil.run([paths.SBIN_SERVICE,
|
result = ipautil.run([paths.SBIN_SERVICE,
|
||||||
|
Loading…
Reference in New Issue
Block a user