Re: [systemd-devel] .target dependency ordering

2025-03-16 Thread Demi Marie Obenour
On Sun, Mar 16, 2025 at 08:32:45PM +0100, Philippe Cerfon wrote: > Hey. > > I have two scenarios where I'm not quite sure whether I understand > things correctly. > > > 1) I'd like to start a firewall service *before* networking is brought up. > My understanding was hat this would best be done i

[systemd-devel] StopWhenUnneeded=yes/PropagatesStopTo= unless unit was started manually

2025-03-16 Thread Philippe Cerfon
Hey. I have a unit foo which depends on a .mount unit. What I would like to have was, that if foo is stopped, the .mount is stopped, too, but only if it wasn't started/mounted manually. If I use StopWhenUnneeded=true in the .mount, then mounting it manually doesn't work anymore (well it gets imm