*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects

Minor fix in SMTP script

Merged Tsepelakis, Sotirios requested to merge st/dev into main
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -33,7 +33,11 @@ username=$(grep -E "^OPENSEARCH_ADMIN_USERNAME=" .env | cut -d '=' -f 2- || echo
password=$(grep -E "^OPENSEARCH_ADMIN_PASSWORD=" .env | cut -d '=' -f 2- || echo "admin")
# reload settings for changes to take effect
response=$(curl -s -u "${username}:${password}" -w "\n%{http_code}" -X POST https://localhost:9200/_nodes/reload_secure_settings --cacert ./ssl/root-ca-crt.pem)
response=$(docker compose exec os-node-1 curl -s \
-u "${username}:${password}" \
-w "\n%{http_code}" \
-X POST https://localhost:9200/_nodes/reload_secure_settings \
--cacert /usr/share/opensearch/config/root-ca.pem)
# separate response message and HTTP status code
response_message=$(echo "$response" | sed '$d')
Loading