Update index.py

pull/5/head
midoks 5 years ago
parent 10585f6406
commit 5249658207
  1. 2
      plugins/redis/index.py

@ -110,6 +110,8 @@ def stop():
def restart():
file = initDreplace()
data = mw.execShell(file + ' restart')
log_file = getServerDir() + "/data/redis.log"
mw.execShell("echo '' > " + log_file)
if data[1] == '':
return 'ok'
return 'fail'

Loading…
Cancel
Save