Let the dump command copy a service.
authorIain Patterson <me@iain.cx>
Thu, 28 Jul 2016 14:53:52 +0000 (15:53 +0100)
committerIain Patterson <me@iain.cx>
Thu, 28 Jul 2016 15:44:32 +0000 (16:44 +0100)
commit7bc41a82f696699aface2103f277e7ebf1808b2f
tree8ec43a5af91181a6dff5593d2af694ce83e9df36
parent3c9d8f85d38b4c97b83e2baca63211a4008b5e0d
Let the dump command copy a service.

If an optional second argument is given to dump, the name of the service
in the output will be set to the argument's value.  In any case, an
"install" line will be written, replacing the Application dump line.

Thus a service can be copied by running:

    nssm dump <servicename> <newservicename> | %COMSPEC% /k
README.txt
service.cpp
settings.cpp