So if I run systemctl list-units --type=target
I can see all of the target units on my machine.
But if I wanted to find a list of services and other units that are under each of these "umbrella" target units, how could I do that?
In other words, if I see with journalctl
that I have a UNIT
xyz, how would I know which target that unit belongs to?
I see in the journal messages that say "Reached target <target_name>
", but I'm curious what log messages and units lead up to that target being reached.
Thanks!