Skip to content

Commit

Permalink
Merge pull request #511 from oozie/relax_javaproc_regex
Browse files Browse the repository at this point in the history
Relax the pgrep regex to correctly find and kill the java process.
  • Loading branch information
manolama committed Aug 30, 2015
2 parents e2dc213 + 8665d24 commit a1f6a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/rpm/init.d/opentsdb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ rh_status_q() {
}

findproc() {
pgrep -f "^java .* net.opentsdb.tools.TSDMain .*${NAME}"
pgrep -f "java .* net.opentsdb.tools.TSDMain .*${NAME}"
}

case "$1" in
Expand Down

0 comments on commit a1f6a97

Please sign in to comment.