This commit is contained in:
midoks
2023-09-29 23:13:07 +08:00
parent 0c48e0fcbb
commit 1129d5753a
2 changed files with 1 additions and 88 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ def mqttOp(method):
return 'ok'
return data[1]
data = mw.execShell('systemctl ' + method + ' redis')
data = mw.execShell('systemctl ' + method + ' ' + getPluginName())
if data[1] == '':
return 'ok'
return data[1]