docs: drop hardcoded sessiond restart command from AGENTS.md

This commit is contained in:
Federico Jaramillo Martinez
2026-06-13 13:48:28 +02:00
parent 3c6b4a4869
commit 847510e240
+1 -5
View File
@@ -7,10 +7,6 @@ This project is expected to run locally using split systemd user services:
When working on this project, assume the session runtime owner is long-lived and separate from the autoreloading UI/API process. Browser disconnects and UI/API restarts should not stop active Pi sessions. When working on this project, assume the session runtime owner is long-lived and separate from the autoreloading UI/API process. Browser disconnects and UI/API restarts should not stop active Pi sessions.
If you make changes that affect `src/server/sessiond.ts`, session runtime ownership, the session daemon protocol, or any code path only loaded by the session daemon, inform the user that `pi-web-sessiond.service` must be manually restarted and give them this command: If you make changes that affect `src/server/sessiond.ts`, session runtime ownership, the session daemon protocol, or any code path only loaded by the session daemon, inform the user that a manual restart of the session daemon is needed.
```bash
systemctl --user restart pi-web-sessiond.service
```
Changes to the web/API/UI side generally only require the `pi-web-ui-dev.service` autoreload/restart path. Changes to the web/API/UI side generally only require the `pi-web-ui-dev.service` autoreload/restart path.