mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[build] Fail on errors
This commit is contained in:
parent
6c6e4d31ff
commit
f9033a1c6e
4 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
user_check() {
|
||||
getent passwd "$1" > /dev/null 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
user_check() {
|
||||
getent passwd "$1" > /dev/null 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if command -v systemctl >/dev/null && systemctl is-active kibana.service >/dev/null; then
|
||||
systemctl --no-reload stop kibana.service
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo -n "Stopping kibana service..."
|
||||
if command -v systemctl >/dev/null && systemctl is-active kibana.service >/dev/null; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue