Configurator
It is possible to run the service with a config received from luna-configurator. To use luna-configurator for service launching, do not pass the config param to run service.
A simple service launching with luna-configurator: (It will works if luna-configurator has been launched at localhost on 5070 port)
python run.py
To specify the luna-configurator address and port, use:
python run.py --luna-config http://127.0.0.1:5071/1
Where http://127.0.0.1:5071 is available luna-configurator service address and 1 is available configurator api version.
If one does not pass –luna-config command-line argument, it can be specified in the luna-configurator section of the config file.
While the value of USE_CONFIGURATOR is 0, file config settings are used, otherwise, the settings from the configurator specified in the config file will be used.
Also, it is possible to specify a tag for every possible setting to get a non-default setting. (see the luna-configurator documentation for more information). Example:
python run.py --INFLUX_MONITORING TAG_1
Where INFLUX_MONITORING is the setting name and TAG_1 is the desired tag for this setting.
To see all possible settings and its description, execute:
python run.py --help
or
python run.py -h