summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthiv Seetharaman <pachum99@myrdd.info>2022-01-18 11:34:17 -0800
committerParthiv Seetharaman <pachum99@myrdd.info>2022-01-18 11:34:17 -0800
commit6c50a62830d41428dafd8ffc73de398ab41c08a8 (patch)
treedd331ad6ca7039224312e7b023d18fd5b41919ac
parentfdf79bfbb92748c068df8d54d99f62289edfd4d4 (diff)
README: refer to serviceConfig.EnvironmentFile
environmentFile option was removed in favor of serviceConfig for more dynamic configuration
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index d75517b..9648f05 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ and `startupScript` as `$REGISTRATION_FILE`.
After this, a configuration file is generated based on the `settings` passed
to the appservice. Environment variables are also substuted in with envsubst,
-so the `environmentFile` option can be used to pass secrets for the appservice.
+so the `serviceConfig.EnvironmentFile` option can be used to pass secrets for the appservice.
### Environment Variables
These variables are available in your `startupScript` and `settings`(substituted in):
@@ -60,6 +60,7 @@ These variables are available in your `startupScript` and `settings`(substituted
- $DIR => Data directory of the appservice
- $AS_TOKEN => Appservice token(needs to be kept secret)
- $HS_TOKEN => Homeserver token(needs to be kept secret)
+ - Anything else in `serviceConfig.EnvironmentFile`
## Importing the module
### With Flakes