X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=d771faad39831779108bda220a79772eeb722800;hb=3c9d8f85d38b4c97b83e2baca63211a4008b5e0d;hp=6f9004e4fee5d92fc705d2ac603230fb3c919bf5;hpb=08eaf3dcc1a68773d5ae340143ad890fdea8648a;p=nssm.git diff --git a/README.txt b/README.txt index 6f9004e..d771faa 100644 --- a/README.txt +++ b/README.txt @@ -70,6 +70,8 @@ Since version 2.25, NSSM can execute commands in response to service events. Since version 2.25, NSSM can list services it manages. +Since version 2.25, NSSM can dump the configuration of services it manages. + Usage ----- @@ -867,6 +869,20 @@ The following command will print the names of all services managed by NSSM: nssm list +Exporting service configuration +------------------------------- +NSSM can dump commands which would recreate the configuration of a service. +The output can be pasted into a batch script to back up the service or +transfer to another computer. + + nssm dump + +Because the service configuration may contain characters which need to be +quoted or escaped from the command prompt, NSSM tries hard to produce +output which will work correctly when run as a script, by adding quotes +and caret escapes as appropriate. + + Example usage ------------- To install an Unreal Tournament server: