Update index.py

This commit is contained in:
Mr Chen
2024-10-01 17:57:29 +08:00
parent 020354f5bc
commit 30454e3b4a
+3 -1
View File
@@ -244,7 +244,7 @@ def start():
pgOp('start')
cleanNginxLog()
return 'ok'
@@ -256,12 +256,14 @@ def stop():
def restart():
cleanNginxLog()
state = pgOp('restart')
mw.restartWeb()
return state
def reload():
cleanNginxLog()
return pgOp('reload')
def getPgOption():