systemd
Use systemd to make benchmark or serving processes restartable and auditable.
Recommended pattern:
- Prefer user services for personal workstation inference.
- Keep model paths and ports in environment variables.
- Use
ExecStartPrefor cheap sanity checks, such as verifying a model path exists. - Avoid hardcoding LAN IPs in public examples.
- For benchmark windows, stop or mask conflicting inference services before the run, then restore and verify afterward.