fix: run tap proxy interactively — user controls stop with Ctrl+C

This commit is contained in:
admin 2026-08-08 07:21:47 +00:00
parent f5eaf58e9b
commit d955bbff0c

View file

@ -423,8 +423,9 @@ def start_debug():
print(f"Log: {logdir}/tap-*.log")
print("Press Ctrl+C to stop — container will restart automatically.\n")
try:
run(f"python3 {tap_script} {port} {backend} {logdir}", timeout=300)
except:
import subprocess
subprocess.call(["python3", tap_script, port, backend, logdir])
except KeyboardInterrupt:
pass
finally:
print(f"\nRestarting wallarm-{n['name']}...")