https://blue-build.org/ logo
What is the best way to modify a systemd .service ...
# questions
b
I want to modify the
sddm.service
file as stated in the last message of this issue : https://github.com/sddm/sddm/issues/703. I guess the way to do that is by adding the file
systemd/system/sddm.service
with the desired content in the
files
directory. However I don't know if this file will be overwritten during build time by the
sddm
package nor if there will be a conflict with the
systemd
module. What are your thought on that ?
a
message has been deleted
a
I think the file to modify would be "/usr/lib/systemd/system/sddm.service". I don't know if you've updated your directory structure, I can help with that. About the sddm package or systemd module overriding your file changes, well, according to bluebuild docs: > #### modules: > A list of modules that is executed in order. Multiple of the same module can be included. So, if a files module that contains this file is the last (or one of the last) to be executed, it will override anything before it, and to the nature of the image being readonly, nothing will be able to modify the file.
b
Thanks for your answer, that was the information I was looking for
I will rebuild my image and mark this thread as solved if it goes ok