mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
- systemd service: use /usr/bin/archivebox wrapper (exports venv PATH for bundled tools like yt-dlp) instead of direct venv binary - install.sh: prefer python3.13, fail early with clear error if < 3.13, add comment clarifying the manual (unpinned) fallback behavior - debian.yml release job: fall back to pyproject.toml version when github.event.release.tag_name is empty (workflow_dispatch path) - nfpm.yaml: clarify that install.sh enforces the real >= 3.13 constraint - CI pre-seed step: expanded comment explaining why we pre-seed with python3.13 and how it relates to real installs https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn
21 lines
545 B
Desktop File
21 lines
545 B
Desktop File
# The archivebox user/group and /var/lib/archivebox directory are created by
|
|
# postinstall.sh (which runs after dpkg unpacks the package contents).
|
|
|
|
[Unit]
|
|
Description=ArchiveBox Web Archiving Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=archivebox
|
|
Group=archivebox
|
|
WorkingDirectory=/var/lib/archivebox
|
|
Environment="PATH=/opt/archivebox/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
|
ExecStartPre=/usr/bin/archivebox init
|
|
ExecStart=/usr/bin/archivebox server 0.0.0.0:8000
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|