From bc690c43c364ffdd9b97be2e146c15417f49700e Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Wed, 29 May 2024 19:33:28 -0400 Subject: [PATCH] [change] Support new openwisp-config agent name --- openwisp_controller/connection/connectors/openwrt/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwisp_controller/connection/connectors/openwrt/ssh.py b/openwisp_controller/connection/connectors/openwrt/ssh.py index 56f55339a..4d3a2d4fe 100644 --- a/openwisp_controller/connection/connectors/openwrt/ssh.py +++ b/openwisp_controller/connection/connectors/openwrt/ssh.py @@ -24,7 +24,7 @@ def update_config(self): def exec_signal_reload(self): self.exec_command( ( - 'OW_CONFIG_PID=$(ps | grep "openwisp_config" | ' + 'OW_CONFIG_PID=$(ps | grep openwisp | grep config | ' 'grep -v "grep" | awk \'{print $1}\'); ' 'kill -SIGUSR1 $OW_CONFIG_PID' )