Closed joshbeard closed 7 years ago
https://github.com/danofthewired/puppet-bitbucket/blob/master/templates/bitbucket.initscript.redhat.erb#L76:
STATUS=$( ps aux | grep "[c]atalina.base=$CATALINA_HOME" | wc -l )
It appears BitBucket >= 5.0, that string is no longer matched in the process table, at least not on the EL6 systems that I've tested on.
I'm not sure if that the catalina.base should be in the command for BitBucket, but it's not here.
catalina.base
Is something like:
STATUS=$( ps aux | grep "com.atlassian.bitbucket.internal.launcher.BitbucketServerLauncher" | wc -l )
An acceptable replacement? I'd be happy to submit a pull request to update the string to match on.
Disregard the com.atlassian.bitbucket.internal.launcher.BitbucketServerLauncher string, that doesn't seem to apply to 4.x
com.atlassian.bitbucket.internal.launcher.BitbucketServerLauncher
PR #45 is a proposed fix
https://github.com/danofthewired/puppet-bitbucket/blob/master/templates/bitbucket.initscript.redhat.erb#L76:
It appears BitBucket >= 5.0, that string is no longer matched in the process table, at least not on the EL6 systems that I've tested on.
I'm not sure if that the
catalina.base
should be in the command for BitBucket, but it's not here.Is something like:
An acceptable replacement? I'd be happy to submit a pull request to update the string to match on.