[systemd-devel] Requires and After

Olaf van der Spek ml at vdspek.org
Sun Dec 30 11:05:46 UTC 2018


Hi,

Evverx suggested I ask here @ https://github.com/systemd/systemd/issues/11284
It's about Requires and After. I think a unit in Requires should imply
that unit in After too, otherwise the requirement isn't really met.
Is there a use case for Requires but not After?
If not, would it make sense to change semantics to have Requires imply After?

Requires and After are a common source of confusion:
https://serverfault.com/questions/812584/in-systemd-whats-the-difference-between-after-and-requires
https://unix.stackexchange.com/questions/388586/systemd-requires-vs-wants

-- 
Olaf


More information about the systemd-devel mailing list