exam questions

Exam 201-450 All Questions

View all questions & answers for the 201-450 exam

Exam 201-450 topic 1 question 28 discussion

Actual exam question from LPI's 201-450
Question #: 28
Topic #: 1
[All 201-450 Questions]

FILL BLANK -
Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)

Show Suggested Answer Hide Answer
Suggested Answer: /lib/systemd/system

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
4 months ago
[/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
upvoted 1 times
[Removed]
4 months ago
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.
upvoted 1 times
...
...
rmmichael95
11 months ago
/lib/systemd/system for system specific files and /etc/sytemd/system for user files
upvoted 1 times
...
Brunfthuf
1 year ago
the preferred path is /etc/system/systemd "+ 100 %"
upvoted 1 times
Brunfthuf
1 year ago
sry /etc/systemd/system :-)
upvoted 2 times
...
...
bluepenguin
2 years, 3 months ago
/usr/lib/systemd/system should be correct, too.
upvoted 2 times
...
milan92stankovic
3 years, 6 months ago
/lib/systemd/system - 100%
upvoted 2 times
Brunfthuf
1 year ago
minus 100 %, yeah.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago