December 2018
Beginner
826 pages
22h 54m
English
The concept of enabled and disabled is relatively easy to understand, those states being that the service will either try to run or it won't.
static is something different; this is the terminology used when a unit file exists, isn't enabled, but has no ability to become enabled, owing to a missing [Install] section of its unit file.
We can list these services with the following line:
$ systemctl --no-pager list-unit-files --type service --state static
Taking a service at random (sshd-keygen), we can have a look at its service file like so:
$ systemctl cat sshd-keygen.service
We get the following:
# /usr/lib/systemd/system/sshd-keygen.service ...
Read now
Unlock full access