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

fixed issue #12 and refactored how unifi processes are run #17

Merged
merged 1 commit into from
Jan 9, 2017
Merged

Conversation

JPvRiel
Copy link

@JPvRiel JPvRiel commented Jan 8, 2017

Fixed missing symlinks for data, log and run dirs. Refactored to use dumb-init, a small wrapper script and jsvc to better match how the original debian package runs the software. Pushed in openjdk headless java-8 and removed external dependany on mongo.org (debain repo version for mongodb was adequet).

Tested as working for me from within a docker container. Logs, etc now using the correct directories. The RUN ln... is important.

Some of the other changes conflict with a microservice philosophy with or have added extra processes into the container, but IMO, it might be safer to mimic the way the debian package intends running the controller software (at least until it's clear upstream has refactored the app to work well within docker).

Fixed missing symlinks for data, log and run dirs. Refactored to use dumb-init, a small wrapper script and jsvc to better match how the original debian package runs the software. Pushed in openjdk headless java-8 and removed external dependany on mongo.org (debain repo version for mongodb was adequet).
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.

3 participants