Lines 112-117
Link Here
|
112 |
procname=`ps -o ucomm= $rc_pid` |
112 |
procname=`ps -o ucomm= $rc_pid` |
113 |
fi |
113 |
fi |
114 |
fi |
114 |
fi |
|
|
115 |
if [ -z "$procname" ]; then |
116 |
procname=nonexistent |
117 |
fi |
115 |
|
118 |
|
116 |
required_files="${tomcat%%TOMCAT_VERSION%%_catalina_home}/conf/server.xml" |
119 |
required_files="${tomcat%%TOMCAT_VERSION%%_catalina_home}/conf/server.xml" |
117 |
|
120 |
|
Lines 128-134
Link Here
|
128 |
} |
131 |
} |
129 |
|
132 |
|
130 |
tomcat%%TOMCAT_VERSION%%_stop() { |
133 |
tomcat%%TOMCAT_VERSION%%_stop() { |
131 |
rc_pid=$(check_pidfile $pidfile *$procname*) |
134 |
rc_pid=$(check_pidfile $pidfile $procname) |
132 |
|
135 |
|
133 |
if [ -z "$rc_pid" ]; then |
136 |
if [ -z "$rc_pid" ]; then |
134 |
[ -n "$rc_fast" ] && return 0 |
137 |
[ -n "$rc_fast" ] && return 0 |