diff --git a/sbin/entrypoint.sh b/sbin/entrypoint.sh index 8cc812b..11a8bd2 100755 --- a/sbin/entrypoint.sh +++ b/sbin/entrypoint.sh @@ -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