Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KairosDB as Windows Service #268

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ilya-khorev
Copy link

Our code allows to install / uninstall kairosDB as Windows Service and guarantee normal stopping of
the service (even though hook event was not triggered).

There are 2 files install_windows_service.bat and uninstall_windows_service which are used for installing and uninstalling the service. The service is based on Apache Daemon. The Daemon itself is also included (please note that you have to replace files from amd64 folder if you use 64 bit AMD or Intel).

We've also reworked a little bit the Main class in order to have ability to launch this properly in different package (org.kairosdb.core.daemon). The old functionality stays the same, it's still possible to laucnh Kairosdb as a console app.

Please review our code if needed, hopefully it will be merged to one of the future releases.

@ilya-khorev
Copy link
Author

Forgot to mention, that you also have to make the path to web_root absolute in kairosdb.properties:
kairosdb.jetty.static_web_root=webroot
Or it will be needed to adjust the code responsible for reading this file accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant