Well, I have commented it sometimes in IRC but haven't had time to report and work on it. Since some packages will need to provide a config file, would be nice to have a systemd.eclass function doing that work to ensure file is installed properly. I see one problem: how to be sure "foo" is replaced by proper name for the installed unit file. I see two ways of ensuring that: - Provide the config-install support in systemd_{do,new}unit functions with an option that would simply catch a file and install it under proper location, taking "foo" from the foo.service name. - Provide a function for installing this that would force this files to be named in some specific way like "unitname-gentoo.conf". Then, the function could take the name of the dir from there and install it (with newins) as unitname.service.d/gentoo.org What do you think? Thanks
I'd go for (1). As explicit as possible.
Created attachment 358178 [details, diff] 1.patch This is a work in progress but still doesn't work. Will need to learn more :S
Created attachment 358204 [details, diff] 1.patch places shift in better place but still fails
this was fixed some days ago