From 4dba8673b0de526fc59fa36976f559b23e61a714 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 6 May 2015 18:43:22 +0200 Subject: [PATCH] Fix documentation of configuration --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74d5cb0..f072380 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,15 @@ Rhynodge uses Maven as build and dependency management tool. Maven can also run > $ mvn clean compile exec:java -Rhynodge accepts the following command-line parameters: +Rhynodge accepts the following options using environment variables: -- ``--chains ``, ``-c ``: directory to load chain configurations from. -- ``--states ``, ``-s ``: directory to store states in. +- ``SMTP_HOSTNAME``: the hostname of the SMTP server, is used for error emails; default is “localhost” +- ``ERROR_EMAIL_SENDER``: the email address to use as sender for error emails +- ``ERROR_EMAIL_RECIPIENT``: the email address to send error emails to +- ``CHAIN_DIRECTORY``: directory to load chain configurations from; default is “chains” +- ``STATE_DIRECTORY``: directory to store states in; default is “states” -Both directories need to be created before running Rhynodge. +Both chain and state directories need to be created before running Rhynodge. Rhynodge also periodically scans the chains directory to find changed or new chain configuration files. New files will be added to the running instance, changed files will be reloaded, and removing files will remove the corresponding job from Rhynodge. -- 2.7.4