Ingo is right, a Windows service is a special type of executable. Fossil..exe 
is an "ordinary" Windows executable. But you cannot have Fossil just idling, 
waiting for commands. Fossil just does what the command line arguments tell it 
to do then exits. What are you trying to do?

Tony Perovic
Compumation, Inc.
________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ingo Koch
Sent: Wednesday, June 01, 2011 12:16 PM
To: [email protected]
Subject: Re: [fossil-users] Help install fossil as window service

On 01.06.2011 17:37, Steeve St-Laurent wrote:
Hi,

I'm trying to install fossil as a window service.

i sucessfully created the service with this command

sc create fossil binPaht="GoodPath\fossil.exe server"

but when i start the fossil service i get this error

Error 1053: The service did not respond to the start or control request in a 
timely fashion.

What did i do wrong ?

You can't register an arbitrary program directly as a Windows service. Every 
Windows service has to implement at least two functions which are called by the 
service manager to start and stop the service. Fossil obviously does not 
implement those functions, so it doesn't respond to the service manager as 
expected.

There are programs available which implement those functions and can then run 
an arbitrary program.
Just do a search for "run windows program as a service"

Ingo
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to