Let's say a unit (Unit1) has the following unit file configuration:
[Unit]
Wants=Unit2
Before=Unit2
I read Wants as "Unit1, when started, will try to run Unit2 (but it's ok if it fails)".
I read Before as "Unit1 should be started before Unit2".
If the Wants makes Unit2 (try to) start before Unit1, but the Before makes Unit1 start before Unit2, what exactly is the reality? What happens here?
Thanks in advance!