[systemd-devel] Q: Querying units for "what provides" a target

Michael Biebl mbiebl at gmail.com
Fri Sep 9 08:30:02 UTC 2022


I'd probably just use `systemctl status`

Am Fr., 9. Sept. 2022 um 10:18 Uhr schrieb Ulrich Windl
<Ulrich.Windl at rz.uni-regensburg.de>:
>
> Hi!
>
> I'm wondering: having some specific target, e.g. time-set.target, how can I find out what actually "provides" that target?
> I see that I can query what "requires" the given target, but how to I get the other direction?
> I mean by using a tool like systemctl, not by finding and grepping some directories for symbolic links.
>
> Sorry if that turns out to be a stupid question where I should have known the answer...
>
> Regards,
> Ulrich
>
>
>


More information about the systemd-devel mailing list