Update task.py

This commit is contained in:
Mr Chen
2024-06-07 20:06:20 +08:00
parent 6b61fa6136
commit 5c3f71c2e4
+1 -1
View File
@@ -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