Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gyrex-dev] Gyrex as Windows or Linux service

Hi Gunnar,
could you provide me the sh file that you use for girex?
I am not very expert on linux, so i don't understand some parameters.

Thanks a lot,
Matteo.


On Mon, Apr 22, 2013 at 12:14 PM, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:
Hi Matteo,

Am 22.04.2013 11:55, schrieb Matteo Cusmai:

Is it possible or not? It is necessary in production environment.

We have it running as Linux service using a custom launch script. The script originally came from the Hudson project. We have a template in Git that you can customize.

http://git.eclipse.org/c/gyrex/gyrex-releng.git/tree/org.eclipse.gyrex.releng/packaging/redhat/init-script.sh


We also use templates from puppet modules. Eg, we have the following module which also contains a sample script for running ZooKeeper.

https://github.com/AGETO/puppet-ageto_zookeeper


We do not use Windows in our production environment. But according to the following post it should be fairly easy using the "gyrex.exe" executable.

http://stackoverflow.com/questions/3582108/create-windows-service-from-executable

There is a shutdown hook registered with the JVM so that the Equinox Framework will initiate a proper shutdown on the appropriate signal.

-Gunnar


--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
gyrex-dev mailing list
gyrex-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gyrex-dev


Back to the top