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' )