summaryrefslogtreecommitdiff
path: root/www/tomcat6/files/tomcat6.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/tomcat6/files/tomcat6.in')
-rw-r--r--www/tomcat6/files/tomcat6.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/tomcat6/files/tomcat6.in b/www/tomcat6/files/tomcat6.in
index 8c5edf09b622..5183ef2cd5af 100644
--- a/www/tomcat6/files/tomcat6.in
+++ b/www/tomcat6/files/tomcat6.in
@@ -168,7 +168,7 @@ tomcat_check_pidfile() {
debug "pid file ($_pidfile): no pid in file."
return
fi
- if [ -n "`%%LOCALBASE%%/bin/jps -l | grep -e "^$_pid $java_class\$"`" ]; then
+ if [ -n "`/usr/bin/procstat -c $_pid | grep -e "^$_pid.*$java_class"`" ]; then
echo -n $_pid
fi
}