Don't run ps since it might fail (for now...)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
547edf0080
commit
41109378eb
@ -5,25 +5,16 @@ set -eu -o pipefail
|
||||
run_alerta_mailer() {
|
||||
set -eu
|
||||
|
||||
alerta-mailer &
|
||||
nohup alerta-mailer &
|
||||
|
||||
echo "-----> alerta-mailer is running..."
|
||||
}
|
||||
|
||||
run_ps_background_check() {
|
||||
set -eu
|
||||
|
||||
ps -aux | grep -i mailer
|
||||
|
||||
echo "-----> ps grep output ^^^"
|
||||
}
|
||||
|
||||
# Main entrypoint
|
||||
main() {
|
||||
set -eu
|
||||
|
||||
run_alerta_mailer
|
||||
run_ps_background_check
|
||||
}
|
||||
|
||||
main
|
||||
|
Reference in New Issue
Block a user