Keep daemon logs after a button restart
This commit is contained in:
@@ -145,6 +145,14 @@ Core tab and the `/api/core/*` routes use it.
|
||||
Verified live on 2026-09-13: the web UI started the client under auto-Xvfb, the bridge connected,
|
||||
`state.get` returned the real account and guilds, and stop exited with code 0.
|
||||
|
||||
## Self-restart
|
||||
|
||||
`POST /api/daemon/restart` (Settings → Server → **Restart daemon**) replaces the daemon process
|
||||
without touching the client. The replacement detaches, so the terminal or parent shell can close.
|
||||
It appends stdout and stderr to `daemon.log` next to the token file (`poc/daemon.log` by default;
|
||||
`VESKSLOP_DAEMON_LOG` overrides). On start it pauses scrapes still marked `running` by a previous
|
||||
daemon, so a hard kill never leaves ghost jobs.
|
||||
|
||||
## Health endpoint
|
||||
|
||||
`GET /health` returns the core connection state, the socket path, the owner ID, and the query count.
|
||||
|
||||
Reference in New Issue
Block a user