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
  • 455,459
  • 31
  • 526
  • 924

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
  • 455,459
  • 31
  • 526
  • 924
1

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

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

  • i think the service being request is "Running Tracd as service" - not sure how to run this as a service on windows 7 –  Sep 28 '09 at 08:05
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,688
  • 1
  • 14
  • 14
0

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

fretje
  • 10,692
  • 5
  • 40
  • 63