Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
List all services names.
service --status-all -
List all systemd units.
systemctl -
Disable a service.
systemctl disable service_name -
Check whether systemd is running as PID 1.
ps --no-headers -o comm 1
A List of Services to Disable
Safe to Disable
-
bluetooth
sudo systemctl disable bluetooth -
openvpn
sudo systemctl disable openvpn -
virtualbox
sudo systemctl disable virtualbox -
packagekit
sudo systemctl mask packagekitNotice that subcommand
systemctl mask(instead ofsystemctl disable) is used assystemctl disabledoes not work in this case. For the difference betweensystemctl disableandsystemctl mask, please refer to What is the difference between "systemctl mask" and "systemctl disable"? .
Controversial Ones
- snapd
sudo systemctl disable snapd.service sudo systemctl disable snapd.socket sudo systemctl disable snapd.seeded sudo systemctl disable snapd.snap-repair.timer