How to create Windows Service using JRuby?

2019-09-06 05:11发布

问题:

I know we can create windows service using win32-service gem which is available in Ruby. How we can create a windows service in JRuby, is there any java-specific way which can be re-used ??

回答1:

I'm not sure if there's anything JRuby specific, but you should be able to use Java based service wrappers like 'Java Service Wrapper'. It's used by a lot of OSS projects.

For more information, check the sample integration.