What is the difference between systemd unit files configurations between /usr/lib/systemd/system/ and /etc/systemd/system/ ?

Solution In Progress - Updated -

Issue

Systemd harbors unit files configurations in two directories:

/usr/lib/systemd/system/
/etc/systemd/system/

Also sometimes a specific unit configuration can be seen on the first directory but not on the second.
What Is the difference between the two directories ?

Environment

Red Hat Enterprise Linux 7
Systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.