X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=19fcb8ef69d5e551020265147a98a9c92db1d591;hb=121d394369e8ea77930579c2d8a285c219ac446c;hp=6955ba4117691a99723fe1aeddc96bb97fe7e12d;hpb=048ecc8a899c842a6d6968a67733330876a933a5;p=nssm.git diff --git a/README.txt b/README.txt index 6955ba4..19fcb8e 100644 --- a/README.txt +++ b/README.txt @@ -324,6 +324,7 @@ run NSSM itself. The parameters recognised are as follows: DisplayName: Service display name. ImagePath: Path to the service executable. ObjectName: User account which runs the service. + Name: Service key name. Start: Service startup type. Type: Service type. @@ -381,6 +382,12 @@ exit code of 2, run nssm set AppExit 2 Exit +The Name parameter can only be queried, not set. It returns the service's +registry key name. This may be useful to know if you take advantage of +the fact that you can substitute the service's display name anywhere where +the syntax calls for . + + The ObjectName parameter requires an additional argument only when setting a username. The additional argument is the password of the user. @@ -486,6 +493,10 @@ To remove the server: nssm remove UT2004 confirm +To find out the service name of a service with a display name: + + nssm get "Background Intelligent Transfer Service" Name + Building NSSM from source -------------------------