FILL BLANK -
Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)
FILL BLANK -
Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)
The directory that contains system-specific systemd unit files is /lib/systemd/system. This directory is reserved for unit files provided by installed packages. These files are essential for the system's operation and should not be edited directly by the system administrator as they may get overwritten by package updates. The correct full path to the directory is: /lib/systemd/system.
/lib/systemd/system - 100%
minus 100 %, yeah.
/usr/lib/systemd/system should be correct, too.
the preferred path is /etc/system/systemd "+ 100 %"
sry /etc/systemd/system :-)
/lib/systemd/system for system specific files and /etc/sytemd/system for user files
[/usr]/lib/systemd/system/ The expectation is that `/lib/systemd/system` is a directory that should only contain systemd unit files which were put there by the package manager (YUM/DNF/RPM/APT/etc). Files in /etc/systemd/system are manually placed here by the operator of the system for ad-hoc software installations that are not in the form of a package. This would include tarball type software installations or home grown scripts. https://unix.stackexchange.com/questions/206315/whats-the-difference-between-usr-lib-systemd-system-and-etc-systemd-system
The directory that contains system-specific systemd unit files is /etc/systemd/system/. This directory is reserved for unit files created or customized by the system administrator. The /lib/systemd/system/ directory, on the other hand, is for unit files provided by installed packages. These files should not be edited directly, as they may be overwritten by package updates. Instead, administrators can override these unit files by creating corresponding files in the /etc/systemd/system/ directory.