I am trying to understand the dependencies between different systemd services in my new project. We are using yocto build system and systemd/system services.
If I perform,
systemctl -l
It will list all the services in alphabetic order. But I am specifically looking for any commands/scripts that can be used for listing systemd services "in-the-order-of" they were loaded.
Please help.
systemctl list-dependencies
. I think this is what you are looking for. – Ypsilantisystemctl list-dependencies
will not account for more subtle service startup order, the correct answer is given by shibley (systemd-analyze plot
) – Smutch