diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-06-08 18:36:07 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-06-08 18:36:07 +0000 |
| commit | 625b3d5176f2c274e91fcf28bda8e45cc0477722 (patch) | |
| tree | 6ca16ad6f4a830b65dcddbd78ad7e7a2f1655682 /public/css/style.css | |
| parent | ecc872a1fd43c0863e3171a1faf533adc3e3a4c5 (diff) | |
Separate face detection into standalone daemon
- Strip all face code from update.rb; add shared log helper writing to
/opt/albumen/log/albumen.log with [update] prefix. update.rb now owns
only album.json; face_daemon.rb owns faces.json.
- New scripts/face_daemon.rb: polls MEDIA_ROOT for unprocessed images,
calls faces.py in batches, writes per-directory faces.json sidecars
atomically. Graceful SIGTERM/SIGINT shutdown between directories.
- New config/face_daemon.service: systemd unit running as albumen user,
Restart=on-failure, logs via SyslogIdentifier=albumen-faces.
- app.rb: add FACES_ENABLED constant; load_faces() helper reads faces.json;
album_files() merges face data into each entry as :faces field.
- Update README.md and DESIGN.md to document the new daemon architecture,
faces.json schema, and service management commands.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'public/css/style.css')
0 files changed, 0 insertions, 0 deletions
