mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update task.py
This commit is contained in:
@@ -327,8 +327,8 @@ def systemTask():
|
|||||||
if reloadNum > 1440:
|
if reloadNum > 1440:
|
||||||
reloadNum = 0
|
reloadNum = 0
|
||||||
# if os.path.exists('data/ssl.pl'):
|
# if os.path.exists('data/ssl.pl'):
|
||||||
os.system(public.getRunDir() +
|
cmd = public.getRunDir() + '/scripts/init.d/mw restart > /dev/null 2>&1'
|
||||||
'/scripts/init.d/mw restart > /dev/null 2>&1')
|
os.system(cmd)
|
||||||
except Exception, ex:
|
except Exception, ex:
|
||||||
print str(ex)
|
print str(ex)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user