Linux Performance

systemd service basics on Linux

The systemd commands you need daily — services, timers, and why enable matters.

13 min read Beginner Updated 9 Jun 2026

Step-by-step guide

Work through each section in order. Stop when your issue is resolved — you do not need every step for every situation.

Warning

Use a sudo-capable account, keep shell history for audit, and back up critical paths before changing boot, SSH, or package state.

What you will achieve

The systemd commands you need daily — services, timers, and why enable matters.

1) Manage service lifecycle

sudo systemctl status nginx
sudo systemctl restart nginx
sudo systemctl enable nginx

2) Read service logs

journalctl -u nginx -n 100 --no-pager

3) Verify on boot

Reboot once and confirm the service returns active without manual intervention.

Related guides

linux systemctl systemd