23.06.2025 10:48, Marc Haber wrote:
On Mon, Jun 23, 2025 at 09:34:34AM +0300, Andrei Borzenkov wrote:
23.06.2025 09:28, Marc Haber wrote:
On Mon, Jun 23, 2025 at 09:16:58AM +0300, Andrei Borzenkov wrote:
/run/systemd/generator/console-log-starter.service.wants/console-log-9.service
-> /run/systemd/generator/console-log-9.service
So your recommendation is to do away with the target, keep the enabled
static starter.service and add the want symlinks from the generator?
I was answering the "generators are not allowed to write in /etc".
Thank you for pointing out this misunderstanding on my side. I
appreciate that.
Do you also have a recommendation about the best way to reach my goal of
my units to be started automatically on system boot?
No. It depends on how your programs are organized and only you can
answer it. If your generated services are only usable and needed when
some other service is active, then making them dependent on this "other
service" is the obvious choice.