Services and Daemons
Reload systemd daemon
systemctl reload-daemon
Check running services
systemctl list-units --type-service
List all services
systemctl --all
Check status of services
systemctl status sshd.service
Stop a service
systemctl stop sshd.service
Start a service
systemctl start sshd.service
Check if a service is enabled to run at boot
systemctl is-enabled sshd.service
Enable a service to start at boot
systemctl enable sshd.service
Enable a service to start at boot and start the service now
systemctl enable --now sshd.service
Disable a service from start at boot
systemctl disable sshd.service
Disable a service from start at boot and stop the service now
systemctl disable --now sshd.service
Restart a service
systemctl restart sshd.service
Enable a service for a current user and start the service now
systemctl --user enable --now sshd.service
Disable a service for a current user and stop the service now
systemctl --user disable --now sshd.service