Extract _full_zim_cleanup helper, add SIGHUP + scrape_jobs cleanup

- Extract shared _full_zim_cleanup(source_id) from api_kiwix_remove
- Add SIGHUP to kiwix-serve after kiwix-manage remove
- Delete linked scrape_jobs rows during ZIM removal
- Update api_scraper_delete to do full ZIM cleanup when applicable
- Set chromium_path for single-file browser crawl support
- Add status.db to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-04-19 02:28:49 +00:00
commit f0b160ef7c
3 changed files with 87 additions and 12 deletions

View file

@ -487,7 +487,7 @@ scraper:
# SingleFile CLI settings (browser crawl mode)
singlefile:
executable: single-file
chromium_path: "" # Auto-detected from Playwright if empty
chromium_path: "/usr/bin/chromium-browser"
crawl_max_depth: 10
# Stream B: New Library Pipeline