mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -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'
|
||||
|
||||
+1057
-10
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user