This commit is contained in:
midoks
2019-08-20 18:46:32 +08:00
parent 6c368d60e9
commit 1f116774b7
2 changed files with 1061 additions and 10 deletions
+4
View File
@@ -145,6 +145,10 @@ def restart():
def reload():
file = initDreplace()
data = runShell(file + ' reload')
solr_log = getServerDir() + "/server/logs/solr.log"
public.writeFile(solr_log, "")
if data[1] == '':
return 'ok'
return 'fail'
File diff suppressed because it is too large Load Diff