Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
On 9/11/2014 11:09 AM, Jordan Michaels wrote: > c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto ok, I can confirm that the delimiter is a space, so --Starup auto does the trick. also, for some reason it wasn't that easy for me to find so I'm posting the link to the docs

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
On 9/11/2014 11:16 AM, Igal @ getRailo.org wrote: > On 9/11/2014 11:09 AM, Jordan Michaels wrote: >>> c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto > are you sure about that? > > from the service.bat file, the command to install is //IS// not //US// > > also, the params are n

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
On 9/11/2014 11:09 AM, Jordan Michaels wrote: >> c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto are you sure about that? from the service.bat file, the command to install is //IS// not //US// also, the params are not separated by = but by space >> Warm Regards, >> Jordan Mi

Re: Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
Thanks Jordan (for a second there when I saw your name I thought that I may have posted my question to the wrong list ;]) On 9/11/2014 11:09 AM, Jordan Michaels wrote: > c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto > > Warm Regards, > Jordan Michaels > > On 09/11/2014 10:50

Re: Windows Service Install Startup Type

2014-09-11 Thread Jordan Michaels
c:\railo\tomcat\bin\tomcat7.exe //US//%SERVICE_NAME% --Startup=auto Warm Regards, Jordan Michaels On 09/11/2014 10:50 AM, Igal @ getRailo.org wrote: I have written a simple script that make it really easy for me to upgrade Tomcat when new versions are available. The service is simply unistalle

Windows Service Install Startup Type

2014-09-11 Thread Igal @ getRailo.org
I have written a simple script that make it really easy for me to upgrade Tomcat when new versions are available. The service is simply unistalled, and then re-installed with the updated paths etc. The problem is that after the service is re-installed it is set to Startup Type: Manul wherea