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

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 "$@"