[systemd-devel] List service units for dependency tracking?

Ignaz Forster iforster at suse.de
Mon Dec 30 10:36:49 UTC 2019


Am 27.12.19 um 19:08 Uhr schrieb Jeffrey Walton:
> I have three services I need to automatically start sometime around
> boot in a mostly unattended environment. My services depend on other
> services, like the USB bus and GUI environment.
> 
> My question is, how can I list the various service units to determine
> what I can use for Wants= and Requires= in my service units?

You mean something like `systemctl list-units --all`?

Apart from that I'd recommend reading `man bootup` / `man 
systemd.special` to get an overview of the most common targets, their 
order and their description.

Cheers,
Ignaz


More information about the systemd-devel mailing list