X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=3bf6ab9b5bd31aae390e7d343715c6d412c22a78;hb=728c4f6eb96313e764600810aa754663a5091f38;hp=f5e6ed8827c30fc2dbfc08efaa9940cba8e35f9c;hpb=b3a4446ab363b5895aa2e04c645ed5d5dfa00442;p=nssm.git diff --git a/README.txt b/README.txt index f5e6ed8..3bf6ab9 100644 --- a/README.txt +++ b/README.txt @@ -49,6 +49,10 @@ of time for the application to exit when shutting down. Since version 2.19, many more service options can be configured with the GUI installer as well as via the registry. +Since version 2.19, NSSM can add to the service's environment by setting +AppEnvironmentExtra in place of or in addition to the srvany-compatible +AppEnvironment. + Usage ----- @@ -230,6 +234,22 @@ work. Remember, however, that the path must be accessible to the user running the service. +Environment variables +--------------------- +NSSM can replace or append to the managed application's environment. Two +multi-valued string (REG_MULTI_SZ) registry values are recognised under +HKLM\SYSTEM\CurrentControlSet\Services\\Parameters. + +AppEnvironment defines a list of environment variables which will override +the service's environment. AppEnvironmentExtra defines a list of +environment variables which will be added to the service's environment. + +Each entry in the list should be of the form KEY=VALUE. It is possible to +omit the VALUE but the = symbol is mandatory. + +srvany only supports AppEnvironment. + + Removing services using the GUI ------------------------------- NSSM can also remove services. Run