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
Luke Murphy 40fa56e9a0
All checks were successful
continuous-integration/drone/push Build is passing
Add mailer logs
2020-04-10 12:26:31 +02:00

24 lines
278 B
Bash
Executable File

#!/bin/bash
set -eu -o pipefail
run_alerta_mailer() {
set -eu
nohup alerta-mailer > /app/alerta-mailer.log 2>&1 &
echo "-----> alerta-mailer is running..."
}
# Main entrypoint
main() {
set -eu
run_alerta_mailer
}
main
/usr/local/bin/docker-entrypoint.sh "$@"