Systemd Service Management Checklist for RHCSA
Systemd controls services on modern Red Hat Enterprise Linux systems. RHCSA candidates must understand how to check, start, stop, enable, disable and troubleshoot services.
Core principle
A service has runtime state and boot state. A service can be active now but disabled on boot, or enabled on boot but currently failed.
Checklist
- Check service status.
- Start a stopped service.
- Stop a running service.
- Restart a service safely.
- Reload a service when supported.
- Enable service at boot.
- Disable service at boot.
- Check failed units.
- Read service logs.
- Verify service behavior after reboot if needed.
Reusable lesson
This applies to sshd, firewalld, chronyd, httpd, nginx, database services, Docker, custom apps and monitoring agents.
When to Use This Checklist
Use this checklist when practicing service management for RHCSA and real Linux server administration.
Required Tools
Linux VM, systemctl, journalctl, test service, sudo access
Before You Start
Do not confuse running now with enabled on boot. Check both when operating services.
Structured Checklist Steps
- Check status.
- Start service.
- Stop service.
- Restart service.
- Reload service.
- Enable service.
- Disable service.
- Check failed units.
- Read logs.
- Verify behavior.
Verification Steps
- Runtime service state is known.
- Boot enable state is known.
- Failed services are visible.
- Logs explain failures.
- Service behaves as intended.
Rollback Plan
If a service change breaks the system, restore the previous enable state or config and use journalctl to identify the failure before retrying.
Common Mistakes
- Restarting without reading logs.
- Forgetting enable on boot.
- Disabling important services.
- Not checking failed units.
- Confusing reload and restart.
Related Commands
systemctl status sshd
sudo systemctl start sshd
sudo systemctl restart sshd
sudo systemctl enable sshd
sudo systemctl disable sshd
systemctl --failed
journalctl -u sshd --since "30 minutes ago"