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.
2020-04-10 10:00:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
|
|
|
run_alerta_mailer() {
|
|
|
|
set -eu
|
|
|
|
|
2020-04-10 10:26:31 +00:00
|
|
|
nohup alerta-mailer > /app/alerta-mailer.log 2>&1 &
|
2020-04-10 10:00:12 +00:00
|
|
|
|
|
|
|
echo "-----> alerta-mailer is running..."
|
|
|
|
}
|
|
|
|
|
|
|
|
# Main entrypoint
|
|
|
|
main() {
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
run_alerta_mailer
|
|
|
|
}
|
|
|
|
|
|
|
|
main
|
|
|
|
|
|
|
|
|
2020-04-10 10:04:26 +00:00
|
|
|
/usr/local/bin/docker-entrypoint.sh "$@"
|