Skip to content
Snippets Groups Projects
Commit 9948e0e4 authored by Markus Widmer's avatar Markus Widmer
Browse files

Set the initial state of the RA.

parent fe497279
Branches feature/configInitState
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ SMTP_HOST="${SMTP_HOST}"
SMTP_USER="${SMTP_USER}"
SMTP_PASSWORD="${SMTP_PASSWORD}"
SMTP_PORT="${SMTP_PORT-25}"
RA_INIT_STATE="${RA_INIT_STATE}"
# Usage: env_replace VARIABLENAME FILE REQUIRED
# VARIABLENAME: name of the environment variable to replace
......@@ -75,6 +76,7 @@ for f in /opt/daasi/didmos2/ra/config/*.ini; do
env_replace "RA_SENDER_EMAIL" "$f" true
env_replace "RA_DEFAULT_RECEIVER_EMAIL" "$f" true
env_replace "SMTP_PORT" "$f" true
env_replace "RA_INIT_STATE" "$f" false
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment