Problem Statement
What are systemd unit files, and where are they stored?
Explanation
Unit files define how systemd manages services, sockets, targets, and timers.
They are stored under /etc/systemd/system for custom services and /lib/systemd/system for system-managed ones.
Code Solution
SolutionRead Only
/etc/systemd/system/myapp.service
Practice Sets
This question appears in the following practice sets: