Update index.py

This commit is contained in:
midoks
2019-12-06 18:07:02 +08:00
parent d05f5ebff8
commit 0d5af34b19
+2 -2
View File
@@ -39,7 +39,7 @@ def getInitDTpl():
def getLog():
return getServerDir() + "/code/logs/error.log"
return "/var/log/jenkins/jenkins.log"
def getArgs():
@@ -68,7 +68,7 @@ def checkArgs(data, ck=[]):
def status():
pn = getPluginName()
cmd = "ps -ef|grep 'waller.py' | grep -v grep | awk '{print $2}'"
cmd = "ps -ef|grep 'jenkins.war' | grep -v grep | awk '{print $2}'"
data = public.execShell(cmd)
if data[0] == '':
return 'stop'