Im trying to setup SVN on a VPS, Windows 2003.
Everything works fine when I run the follow on the server
svnserve --daemon -r c:\current\svn\twipler
and from Windows client (with tourtoise) svn://twipler.com works fine.
However, if I close the command line/log off from remote desktop the service stops and the client stops working.
So I've tried setting this up as a service using the following command;
C:\Program Files (x86)\Subversion\bin>sc create SVN binpath="\"c:\Program Files
(x86)\Subversion\bin\svnserve.exe\" --service -r c:\current\svn\twipler" display
name="SVN Service" depends=tcpip
Which returns the SC help text;
DESCRIPTION:
Creates a service entry in the registry and Service Database.
USAGE:
sc <server> create [service name] [binPath= ] <option1> <option2>...
OPTIONS:
....
But it does not setup the service! I've tried a few combinations etc but with no joy!
update
Im also doing
svnservice -install --daemon --root c:\current\svn\twipler
which after 10 seconds or so, pops up an alert saying
Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and the started with the ServerExplorer, Windows Services Administrative tool or the NET START command.
I can't find installutil and am lost! Also "whoami" is CT17220\administrator