Skip to content

Commit 4288399

Browse files
committed
RedHat 6 Service Manifest problem voxpupuli#243
1 parent bd5f882 commit 4288399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/jira.initscript.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function start() {
6262

6363
function status() {
6464

65-
STATUS=$( pgrep -u <%= scope.lookupvar('jira::user')%> -f atlassian-jira ) || STATUS=0
65+
STATUS=$( pgrep -F <%= scope.lookupvar('jira::webappdir') %>/work/catalina.pid ) || STATUS=0
6666
if [ $STATUS -ne 0 ];then
6767
echo "$SERVICE is running"
6868
return 0

0 commit comments

Comments
 (0)