Update index.py

pull/109/head
Mr Chen 6 years ago
parent 581f16e105
commit 319b9e6517
  1. 4
      plugins/gogs/index.py

@ -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():

Loading…
Cancel
Save