-
Notifications
You must be signed in to change notification settings - Fork 443
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
Rpm should have option to make systemd file config #1144
Labels
Comments
I think both should be non config. |
Workaround for me is: linuxPackageMappings in Rpm := {
val before = (linuxPackageMappings in Rpm).value
val after = before.find(_.mappings.exists(_._2.contains(".service"))).fold(before) {
mapping => before.filter(_ != mapping) :+ mapping.withConfig("false")
}
after
} |
What's the reasons you want this file to be non-config? After all the systemd file is nothing but a config that specifies how to start you service and under which conditions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
app.service file should not be marked as config in rpm spec file.
Actual behaviour
app.service marked as config, and there is no option to make it non config.
Information
rpm --version
) RPM version 4.14.1Related SO:
https://stackoverflow.com/questions/51611115/sbt-native-packager-set-systemd-service-file-to-non-config
The text was updated successfully, but these errors were encountered: