This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
alerta.autonomic.zone/sbin/entrypoint.sh

33 lines
372 B
Bash
Raw Normal View History

2020-04-10 10:00:12 +00:00
#!/bin/bash
set -eu -o pipefail
run_alerta_mailer() {
set -eu
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
usr/local/bin/docker-entrypoint.sh "$@"