-
Notifications
You must be signed in to change notification settings - Fork 47
Running Hydra as a service on Windows
jonaslindmark edited this page May 4, 2012
·
1 revision
Hydra can be setup to run a Windows service using Apache Daemon tools and in particular the tool Procrun.
- First step is to accuire these two binaries from here
- Unzip the binaries related to your operating system architecture (x86/x64/ia64) to the folder where you have your hydra instance.
- For convenience rename prunsrv.exe to hydra.exe and prunmgr to hydraw.exe
- Open a command prompt in administrator mode where you have placed your binaries and run hydra.exe //IS to initate the service
- From here on you can either use the service manager (hydraw.exe) to configure your service or do it the old-fashioned commandline way. Commandline is preferred for making an installation script. More details on how that is done can be found here. Or you can use the Manager launched by executing hydraw.exe in administrator mode.
Set your java settings. Java class path must be the full path to your hydra core jar. For logging add the java flag -Dlogback.configurationFile=PATH_TO_LOGBACK.xml
Startup class is com.findwise.hydra.Main
.
NOTE: There is currently no shutdown hook implemented for Hydra