You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2006/03/10 09:55:19 UTC

[Jakarta-commons Wiki] Update of "Daemon" by StefanVogel

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by StefanVogel:
http://wiki.apache.org/jakarta-commons/Daemon

------------------------------------------------------------------------------
  
  Uninstallation:
  prunsrv //DS//PROXO 
+ == Can I use the commons daemon to install (register) a Windows service? ==
+ Yes a Windows service can be installed/uninstalled using prunsrv. See the following example to install the a Windows Service called SCNService:
+ prunsrv //IS//SCNService --Install=%CD%\SCNService.exe --Startup=manual --DisplayName=SCNService
  
+ Hint: prunsrv will add "//RS//SCNService" to the ImagePath, which will be passed to SCNService.exe when the Windows SCM (Service Control Manager) is staring the service. Most Services will ignore such command line arguments, but you should check this with your service just to make sure.
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org