Updated docs/ENVIRONMENT.rst to reflect changes in variables

This commit is contained in:
LaoDC
2017-05-03 19:25:14 +07:00
parent 74f6639489
commit d80b9200cc
+4 -2
View File
@@ -116,8 +116,10 @@ These environment variables are optional:
You can place several meta-variables in your banner file, which will be You can place several meta-variables in your banner file, which will be
replaced before serving to a client. replaced before serving to a client.
+ **$VERSION** is replaced with the ElectrumX version you are + **$SERVER_VERSION** is replaced with the ElectrumX version you are
runnning, such as *ElectrumX 0.9.22*. runnning, such as *1.0.10*.
+ **$_SERVER_SUBVERSION** is replace with the ElectrumX user agent
string. For example, `ElectrumX 1.0.10`.
+ **$DAEMON_VERSION** is replaced with the daemon's version as a + **$DAEMON_VERSION** is replaced with the daemon's version as a
dot-separated string. For example *0.12.1*. dot-separated string. For example *0.12.1*.
+ **$DAEMON_SUBVERSION** is replaced with the daemon's user agent + **$DAEMON_SUBVERSION** is replaced with the daemon's user agent