diff --git a/python/deploy.py b/python/deploy.py index 11193b6..6d6cf4e 100644 --- a/python/deploy.py +++ b/python/deploy.py @@ -173,8 +173,8 @@ http {{ # Add config-file to wcli for conf in Path(f"{instance}/etc").glob("*.conf"): c = conf.read_text() - if "wcli run" in c and "--config-file" not in c: - conf.write_text(c.replace("wcli run", f"wcli run --config-file {instance}/etc/wallarm/node.yaml")) + if "wcli run" in c and "-cfg" not in c: + conf.write_text(c.replace("wcli run", f"wcli run -cfg {instance}/etc/wallarm/node.yaml")) # Systemd tmpl = f"""[Unit]