From 3292a954554e674a3ce0da4a5b9f9da3b592d60d Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Sat, 31 Oct 2020 20:29:32 +0100
Subject: [PATCH] Configure coordinator emails. #38

---
 config/sample-development.engine.ini | 9 +++++++--
 config/sample-docker.engine.ini      | 7 ++++++-
 config/sample-production.engine.ini  | 7 ++++++-
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/config/sample-development.engine.ini b/config/sample-development.engine.ini
index 2af2907..75098dd 100644
--- a/config/sample-development.engine.ini
+++ b/config/sample-development.engine.ini
@@ -23,14 +23,19 @@ mail_server_port="587"
 mail_user="aura@subsquare.at"
 mail_pass="---SECRET--PASSWORD---"
 
+# Set to "true" if you want to notify programme-coordinators about about fallback situations, otherwise "false"
+mail_coordinator_enabled="true"
+# If you want to address multiple programme-coordinators separate their emails by space
+coordinator_mail="programme-coordinator@your-radio.org"
 # Set to "true" if you want to notify admins about incidents, otherwise "false"
 mail_admin_enabled="true"
-# If you want to send multiple admin-mails, make them space separated
-admin_mail="admin@your-radio.org"
+# If you want to address multiple administrators separate their emails by space
+admin_mail="david@subsquare.at"
 # The FROM email address used when sending
 from_mail="monitoring@aura.engine"
 # A subject prefix allows applying filter rules in your mail client
 mailsubject_prefix="[AURA Engine]"
+
 # Server where heartbeat info is sent to
 heartbeat_server = "127.0.0.1"   
 # Some UDP port
diff --git a/config/sample-docker.engine.ini b/config/sample-docker.engine.ini
index 3140e58..65564ba 100644
--- a/config/sample-docker.engine.ini
+++ b/config/sample-docker.engine.ini
@@ -23,14 +23,19 @@ mail_server_port="587"
 mail_user="aura@subsquare.at"
 mail_pass="---SECRET--PASSWORD---"
 
+# Set to "true" if you want to notify programme-coordinators about about fallback situations, otherwise "false"
+mail_coordinator_enabled="true"
+# If you want to address multiple programme-coordinators separate their emails by space
+coordinator_mail="programme-coordinator@your-radio.org"
 # Set to "true" if you want to notify admins about incidents, otherwise "false"
 mail_admin_enabled="true"
-# If you want to send multiple admin-mails, make them space separated
+# If you want to address multiple administrators separate their emails by space
 admin_mail="admin@your-radio.org"
 # The FROM email address used when sending
 from_mail="monitoring@aura.engine"
 # A subject prefix allows applying filter rules in your mail client
 mailsubject_prefix="[AURA Engine]"
+
 # Server where heartbeat info is sent to
 heartbeat_server = "127.0.0.1"   
 # Some UDP port
diff --git a/config/sample-production.engine.ini b/config/sample-production.engine.ini
index d03e5d4..90528bb 100644
--- a/config/sample-production.engine.ini
+++ b/config/sample-production.engine.ini
@@ -23,14 +23,19 @@ mail_server_port="587"
 mail_user="aura@subsquare.at"
 mail_pass="---SECRET--PASSWORD---"
 
+# Set to "true" if you want to notify programme-coordinators about about fallback situations, otherwise "false"
+mail_coordinator_enabled="true"
+# If you want to address multiple programme-coordinators separate their emails by space
+coordinator_mail="programme-coordinator@your-radio.org"
 # Set to "true" if you want to notify admins about incidents, otherwise "false"
 mail_admin_enabled="true"
-# If you want to send multiple admin-mails, make them space separated
+# If you want to address multiple administrators separate their emails by space
 admin_mail="admin@your-radio.org"
 # The FROM email address used when sending
 from_mail="monitoring@aura.engine"
 # A subject prefix allows applying filter rules in your mail client
 mailsubject_prefix="[AURA Engine]"
+
 # Server where heartbeat info is sent to
 heartbeat_server = "127.0.0.1"   
 # Some UDP port
-- 
GitLab