-
Notifications
You must be signed in to change notification settings - Fork 445
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
Changes to application.conf are not picked up on Debian #1135
Comments
Hi @jkransen
|
Hi @muuki88 , I'm glad you responded. Can you elaborate a bit more on your answer? It was your example I followed: https://github.com/muuki88/sbt-native-packager-examples/blob/master/application-conf/build.sbt which does not seem to do either of your options. What is a generated by script? sbt> show scriptClasspath shows all dependency jars, and on top the app itself. By the way, I run it (and generate the .deb) on a host computer, which is not the one the .deb is being installed on. |
No worries @jkransen . Your package is configured fine, but you have to configure the lightbend config library as well. The lightbend config library looks Configure
|
Expected behaviour
Changes to /etc/fijnstof/application.conf are picked up by application.
Actual behaviour
Configuration items remain the same.
Information
I have this section in my build.sbt:
I can build a .deb using sbt debian:packageBin, and install it.
I see a application.conf appear in /etc/fijnstof/, which I can edit.
When starting the app, changes to this file are not picked up however. I tried excluding the original application.conf from the package (or even from the repo), but to no avail.
If you want more context, please have a look at https://github.com/jkransen/fijnstof/, it can also be used to reproduce the issue.
The text was updated successfully, but these errors were encountered: