Kolam Ayer MakersLinux Foundations

Service

Core Idea

A service is a long-running or supervised capability that other programs or users can rely on.

Meanings You Will See

Course Examples

PORT="$((10000 + $(id -u)))"
systemctl --user status site.service
journalctl --user -u site.service --no-pager -n 50
curl -I "http://127.0.0.1:$PORT/"

Your personal web service is both a network service and a systemd user service: it listens for HTTP requests on the course-assigned port and is supervised by your per-user systemd instance.

What A Service Needs

Common Confusions

Proof Check

For site.service, identify whether it is a network service, systemd service, system service, user service, or more than one of those.

Docs Pointers