How do i list systemd service dependancies?



  • Man page for systemctl.

    List dependancies for systemd-firstboot.service.

    $ systemctl list-dependencies systemd-firstboot.service
    systemd-firstboot.service
    * `-system.slice
    

    Or the systemd-journal-flush.service.

    $ systemctl list-dependencies systemd-journal-flush.service
    systemd-journal-flush.service
    * |--.mount
    * |-system.slice
    * `-systemd-journald.service
    

    For the user related services the dependancies increase.


 

© Lightnetics 2019