mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 02:49:25 +08:00
Update task.py
This commit is contained in:
@@ -77,7 +77,7 @@ def openresty_cmd(method = 'reload'):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
sys_initd = '/etc/init.d/openresty'
|
sys_initd = '/etc/init.d/openresty'
|
||||||
if os.path.exists(install_initd):
|
if os.path.exists(sys_initd):
|
||||||
os.system(sys_initd + ' ' + method)
|
os.system(sys_initd + ' ' + method)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user