X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=README.txt;h=6f9004e4fee5d92fc705d2ac603230fb3c919bf5;hb=08eaf3dcc1a68773d5ae340143ad890fdea8648a;hp=12a83939ffef5e3b20e0abcf42da875576b54ae2;hpb=3e92dce8716991c7100ea55f0b5e202a05c1b56d;p=nssm.git diff --git a/README.txt b/README.txt index 12a8393..6f9004e 100644 --- a/README.txt +++ b/README.txt @@ -729,6 +729,34 @@ separate command line arguments. For example: nssm set DependOnService RpcSs LanmanWorkstation +Alternatively the dependency name can be prefixed with a + or - symbol to +respectively add or remove a dependency. + +The following two lines set dependencies on RpcSs and LanmanWorkstation: + + nssm set DependOnService RpcSs + nssm set DependOnService +LanmanWorkstation + +The follwing syntax removes the dependency on RpcSs: + + nssm set DependOnService -RpcSs + +Service groups should, strictly speaking, be prefixed with the + symbol. +To specify a single dependency on a group, the + symbol can be prefixed +with the : symbol. + +The following lines are equivalent, and each set a dependency ONLY on +NetBIOSGroup: + + nssm set DependOnGroup NetBIOSGroup + nssm set DependOnGroup :NetBIOSGroup + nssm set DependOnGroup :+NetBIOSGroup + +Whereas these lines add to any existing dependencies: + + nssm set DependOnGroup +NetBIOSGroup + nssm set DependOnGroup ++NetBIOSGroup + 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