From ed09e12b3956adcc880fc275d2f0ed5dfcad58ac Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Tue, 24 Aug 2021 19:40:09 +0600 Subject: [PATCH] v5.2.4.0 Changelog: https://haproxy-wi.org/changelog.py#5_2_4 --- app/portscanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portscanner.py b/app/portscanner.py index cfde5892..bed0b99e 100644 --- a/app/portscanner.py +++ b/app/portscanner.py @@ -38,7 +38,7 @@ else: i = (s[2], count_ports_from_sql) count_ports.append(i) - cmd = "systemctl status portscanner |grep Act |awk '{print $2}'" + cmd = "systemctl is-active roxy-wi-portscanner" port_scanner, port_scanner_stderr = funct.subprocess_execute(cmd)