mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-23 03:27:15 -04:00
Exposed dualstack argument on Docker
Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
parent
a9b17ade20
commit
b72e62820d
3 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,9 @@ def start_kms(logger):
|
|||
for i in range(1, len(listen_ip)):
|
||||
command.append("-n")
|
||||
command.append(listen_ip[i] + "," + listen_port)
|
||||
if dual := os.environ.get('DUALSTACK'):
|
||||
command.append("-d")
|
||||
command.append(dual)
|
||||
|
||||
logger.debug("server_cmd: %s" % (" ".join(str(x) for x in command).strip()))
|
||||
pykms_process = subprocess.Popen(command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue