From 8e09b77e21193044c346e97bf21d60b61bb33dde Mon Sep 17 00:00:00 2001 From: r-caamano Date: Fri, 9 Aug 2024 21:44:19 +0000 Subject: [PATCH] changed sed statement for controller fw-init.service --- files/scripts/start_ebpf_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/scripts/start_ebpf_controller.py b/files/scripts/start_ebpf_controller.py index c66ae08..d26795d 100755 --- a/files/scripts/start_ebpf_controller.py +++ b/files/scripts/start_ebpf_controller.py @@ -483,7 +483,7 @@ def set_local_rules(ip): test1 = 1 test1 = os.system("sed -i '/ExecStart=/i ExecStartPre\=\-\/opt\/openziti\/bin\/start_ebpf_controller.py --lanIf " + lanIf + "' /etc/systemd/system/zfw-logging.service") test1 = os.system("sed -i 's/ziti-router/ziti-controller/g' /etc/systemd/system/zfw-logging.service") - test1 = os.system("sed -i 's/ziti-router/ziti-controller/g' /etc/systemd/system/fw-init.service") + test1 = os.system("sed -i 's/_router/_controller/g' /etc/systemd/system/fw-init.service") if(not test1): test1 = os.system("systemctl daemon-reload")