CentOS / RHEL 7
I'd like to see a list of services present on my system and which systemd target they'll automatically start for. Is that possible? I know I can run systemctl cat foo
and check the WantedBy
field value for an individual service but I was hoping to see a full list of everything.
Basically I'm looking for the systemd equivalent of chkconfig --list
systemctl -a
what you are looking for ??systemctl list-init-files
.