versaplexd-svc: add -n (service name) option.
commita89cdfefe53f975bbb063744aea19701a352b67f
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 10 Dec 2008 21:35:24 +0000 (10 16:35 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 10 Dec 2008 21:35:24 +0000 (10 16:35 -0500)
tree374a79a7ad1a05e74dd35d5ba9bb1287552ea662
parent5f31f8290e6a17cfbc13cb1205ed1ad2c6f8a526
versaplexd-svc: add -n (service name) option.

You might want to install more than one versaplexd on the same machine, I
suppose.  Or in my case, stupid Windows "sometimes" doesn't finish removing
a service until you reboot, so to experiment, you have to keep renaming the
service to a new name each time you do a test install.  Morons.

Also, don't rollback the install just because we failed to start the
service.  That would make it impossible for the admin to look into why the
service failed to start in the first place (and then fix it).  The old
behaviour was just an artifact of putting the statement inside a try{} block
by accident.
versaplexd/versaplexd-svc.cs