Which directory contains system-specific systemd unit files?

Fill in the blank.
Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)
Your Response: type here
A. /lib/systemd/system

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “Which directory contains system-specific systemd unit files?

  1. UNIT LOAD PATH
    Unit files are loaded from a set of paths determined during
    compilation, described in the two tables below. Unit files found
    in directories listed earlier override files with the same name
    in directories lower in the list.

    Table 1. Load path when running in system mode (–system).
    ┌────────────────────────┬─────────────────────────────┐
    │Path │ Description │
    ├────────────────────────┼─────────────────────────────┤
    │/etc/systemd/system │ Local configuration │
    ├────────────────────────┼─────────────────────────────┤
    │/run/systemd/system │ Runtime units │
    ├────────────────────────┼─────────────────────────────┤
    │/usr/lib/systemd/system │ Units of installed packages │
    └────────────────────────┴─────────────────────────────┘

    The answer is /usr/lib/systemd/system for Red Hat Based and /lib/systemd/system for Debian based

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.