Don't run ps since it might fail (for now...)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Luke Murphy 2020-04-10 12:09:34 +02:00
parent 547edf0080
commit 41109378eb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -5,25 +5,16 @@ set -eu -o pipefail
run_alerta_mailer() { run_alerta_mailer() {
set -eu set -eu
alerta-mailer & nohup alerta-mailer &
echo "-----> alerta-mailer is running..." echo "-----> alerta-mailer is running..."
} }
run_ps_background_check() {
set -eu
ps -aux | grep -i mailer
echo "-----> ps grep output ^^^"
}
# Main entrypoint # Main entrypoint
main() { main() {
set -eu set -eu
run_alerta_mailer run_alerta_mailer
run_ps_background_check
} }
main main