Re: Windows Service Install Startup Type
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 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 whereas I want it to be Startup Type: Automatic How can I specify the Startup Type when installing the service? Thanks, Igal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Windows Service Install Startup Type
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 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 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 whereas I want it to be Startup Type: Automatic How can I specify the Startup Type when installing the service? Thanks, Igal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Igal Sapir Railo Core Developer http://getRailo.org/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Windows Service Install Startup Type
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 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 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 whereas I want it to be Startup Type: Automatic How can I specify the Startup Type when installing the service? Thanks, Igal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Igal Sapir Railo Core Developer http://getRailo.org/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Windows Service Install Startup Type
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 not separated by = but by space oh, I see. //US// is for Update. perhaps I don't need to go through the whole Uninstall/Reinstall in the first place... Igal p.s. I'm not sure why in this list you're supposed to add your reply at the bottom... not sure what mail clients others use here, but it doesn't make sense to me... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Windows Service Install Startup Type
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 here: http://tomcat.apache.org/tomcat-8.0-doc/windows-service-howto.html thanks, Igal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org