Skip to content

Commit

Permalink
[build] Try service kibana stop before init script
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed May 27, 2016
1 parent 07618c3 commit 83c5802
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/build/package_scripts/pre_remove.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ fi
if [ -x /etc/init.d/kibana ]; then
if command -v invoke-rc.d >/dev/null; then
invoke-rc.d kibana stop
elif command -v service >/dev/null; then
service kibana stop
else
/etc/init.d/kibana stop
fi
Expand Down

0 comments on commit 83c5802

Please sign in to comment.