Local AI use cases with systemd
systemd is the service manager on most Linux distributions. Ollama's Linux installer runs it as a systemd service, which can be given resource limits and sandboxing.
Hardening a two-GPU Ollama server with systemd: 9.2 UNSAFE to 1.4
A homelab write-up that adds measured memory and CPU limits, restart policy and sandboxing to Ollama through systemd drop-ins on a server with two RTX 5060 Ti cards, testing after every round that the GPUs still work.