systemd - list all available services?
I've noticed that some of my services that should be enabled are not enabled. I'm not sure why this happened, but it seems to me that the easiest way to go about fixing what should be enabled would be to list all available services along with which are enabled and which are not. Is there any way to do this?
Even a list without enabled / disabled status would work (I can just send an enable command and if they're already enabled no harm should be done, but it would save me a lot of time if I could see what's enabled and what's not).
Thanks.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 279mxv
3 comments
systemctl list-units
Check out the systemd man page for concepts, and the systemctl man page for a ton of options, switches, and filters.
Just running systemctl with no arguments (on my machines at least) is the same as 'systemctl list-units', which is what you wanted.
running systemctl just lists what's running, correct? I don't think that lists all the services available.