5

How do you run a custom service in Windows 7?
Does anyone know how to setup trac as a custom service in Windows 7?

harrymc
  • 498,455

4 Answers4

11

The link you have provided also points towards Trac On Windows [link is now bad], which seems a pretty complete description of the installation process.

In section 3 I find the following line:

sc create svnserver binpath="C:\Subversion\bin\svnserve.exe --service -r c:\svnrepositories" displayname= "Subversion Server (svnserver)" depend= Tcpip start= auto

which creates a system service. However, I don't know if that's the service you need.

harrymc
  • 498,455
1

yep srvany seems to be only way - unless someone else knows another way using

"sc create /?" in cmd prompt (i dont)

1

If you're scared by the command line and not scared to spend money, then FireDaemon allows you to easily set up services.

seanyboy
  • 1,695
0

Take a look at SrvAny from the Windows NT Resource Kit.

fretje
  • 10,732