How do I know If I should enable a systemctl service?
1 / 2
Not downloaded yet
Not downloaded yet
I made a clean install of Arch Linux. For now, there are only 9 unit files actively running. I couldn't see a problem with my current setup, but I wonder if should I enable some of them, like apparmor and avahi daemon.
It works the other way round. You enable a sysremd service when you want to the service. Ex. You want to host a http page on your pc. So you enable httpd. You want to use apparmor to secure your computer. Then you enable apparmor. You can read on the wiki what is apparmor and avahi and how to use it. And it's in the wiki - if you don't need to auto discover printers on yhe network, you can live without avahibwith no problems
In general enable what you need if you don't need something (and it's not mandatory to correctly run your system like logind.service) disable it, that way you will limit resources use and boot time.
4 comments
Check out the arch wiki for the unit and determine if it's something you need.
It works the other way round. You enable a sysremd service when you want to the service. Ex. You want to host a http page on your pc. So you enable httpd. You want to use apparmor to secure your computer. Then you enable apparmor. You can read on the wiki what is apparmor and avahi and how to use it. And it's in the wiki - if you don't need to auto discover printers on yhe network, you can live without avahibwith no problems
If you want a service to start with your computer on boot, enable it.
In general enable what you need if you don't need something (and it's not mandatory to correctly run your system like logind.service) disable it, that way you will limit resources use and boot time.