setup Agilo to run as a service on Windows

33 views
Skip to first unread message

boflynn

unread,
Aug 14, 2009, 10:32:01 AM8/14/09
to Agilo for Scrum
Hi
Currently on Windows I have to use run.bat to get Agilo to run.
However that means someone has to be logged into the server.

How do I set Agilo up so that it runs as a service?

Issam

unread,
Aug 17, 2009, 9:56:04 AM8/17/09
to Agilo for Scrum
These instructions are from here http://trac.edgewall.org/wiki/TracOnWindowsStandalone
and worked well for me

Instructions also valid for 0.11 (see #7496)

* download the Windows Server 2003 Resource Kit at Microsoft
* run "InstSrv <servicename> c:\path\to\resourcekit\SrvAny.exe",
where you insert your own service name (without angle brackets, e.g.
tracd) and the full path to the SrvAny.exe.
* open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
\<servicename> in RegEdit
* create subkey *Parameters*, below which you will create 2 string
values:
* create string value *Application* with the full path to
python.exe
* create string value *AppParameters* with the set of desired
tracd parameters, e.g. "c:\Python25\Scripts\tracd-script.py --port
8080 c:\path\to\trac" (without the quotes)
* open the Services tool (somewhere in the administrative tools in
the Windows control panel) and start your service

(tested with trac 0.11.2 on Windows XP)

You can also use FireDaemon lite. No need to open the registry,
FireDaemon? GUI allows you to add parameters to your service command
line. (tested with trac 0.11.2 on Windows Vista)

boflynn

unread,
Aug 19, 2009, 6:51:05 AM8/19/09
to Agilo for Scrum
Thanks for the info!
I also found out you can also do this as a scheduled task. There is an
option to run a task on system start up and you have to deselect the
option to kill the task if it runs for more than x hours.

On Aug 17, 2:56 pm, Issam <ighar...@gmail.com> wrote:
> These instructions are from herehttp://trac.edgewall.org/wiki/TracOnWindowsStandalone
> > How do I set Agilo up so that it runs as a service?- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages