X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;ds=sidebyside;f=README.txt;h=3bf6ab9b5bd31aae390e7d343715c6d412c22a78;hb=728c4f6eb96313e764600810aa754663a5091f38;hp=f5ddd2f0278c1dee11d05c889e74ff4f0f895311;hpb=da1b8e1cb0ae3870405685a4d07f3d75d02e618a;p=nssm.git diff --git a/README.txt b/README.txt index f5ddd2f..3bf6ab9 100644 --- a/README.txt +++ b/README.txt @@ -46,6 +46,13 @@ to an arbitrary path. Since version 2.18, NSSM can be configured to wait a user-specified amount 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 ----- @@ -227,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