Add healthchecks and coder
This commit is contained in:
parent
acc83618f3
commit
e7c78aa678
16 changed files with 245 additions and 1 deletions
healthcheck
9
healthcheck/mail
Executable file
9
healthcheck/mail
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
set -e
|
||||
cd /opt/ || exit
|
||||
|
||||
envsubst < template.msmtprc > msmtprc
|
||||
envsubst < mailcheck.template.mail > mailcheck.mail
|
||||
|
||||
msmtp -C /opt/msmtprc -a default "$MAIL_HC_UID@hc-ping.com" < /opt/mailcheck.mail
|
Reference in a new issue