Update index.py

This commit is contained in:
Mr Chen 2018-12-14 18:38:27 +08:00
parent 7d6ddb40db
commit ff87dbe258
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ def status():
def initDreplace():
file_tpl = getConf()
file_tpl = getInitdConf()
service_path = public.getServerDir()
initD_path = getServerDir() + '/init.d'
@ -98,7 +98,7 @@ def start():
data = public.execShell(file + ' start')
if data[1] == '':
return 'ok'
return 'fail'
return data[1]
def stop():