pull/109/head
Mr Chen 6 years ago
parent ba3ebb9f5f
commit ff40504b89
  1. 1
      plugins/gogs/index.py
  2. 5
      plugins/gogs/init.d/gogs.tpl

@ -249,7 +249,6 @@ def start():
return data['msg']
data = public.execShell(__SR + file + ' start')
print data
if data[1] == '':
return 'ok'
return data[0]

@ -75,9 +75,8 @@ stop() {
pids=`ps -ef|grep 'gogs web' |grep -v grep|awk '{print $2}'`
arr=($pids)
echo -e "Stopping gogs... \c";
ifor p in ${arr[@]}
echo -e "Stopping gogs... \c"
for p in ${arr[@]}
do
kill -9 $p
done

Loading…
Cancel
Save