Interview Questions/Phone Screen/systemd Service Basics
BeginnerPhone
2 min

systemd Service Basics

LinuxSystem AdministrationInit Systems
Advertisement
Interview Question

How do you check, start, and enable a service with systemd, and where are unit files located?

Key Points to Cover
  • `systemctl status|start|stop|restart <svc>`; `enable` for boot
  • Unit files typically in /etc/systemd/system and /lib/systemd/system
  • `journalctl -u <svc>` to view logs
Evaluation Rubric
Lists core systemctl operations40% weight
Mentions unit file locations30% weight
Includes journalctl for logs30% weight
Hints
  • 💡Daemon-reload after editing unit files.
Potential Follow-up Questions
  • Difference between enable and start?
  • How to add environment vars to a service?
Advertisement