Send oom email to cloudron admins

Part of #166
This commit is contained in:
Girish Ramakrishnan
2017-01-07 13:52:32 -08:00
parent 8a05fdcb10
commit 3f3b97dc16
3 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<%if (format === 'text') { %>
Dear Cloudron Team,
Unfortunately <%= program %> on <%= fqdn %> exited unexpectedly!
Please see some excerpt of the logs below.
Thank you,
Your Cloudron
-------------------------------------
<%- context %>
<% } else { %>
<% } %>