1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-03-07 15:16:17 +01:00
infrastructure/roles/dbscripts/files/archive-index.service
Kristian Klausen f354ae357b
dbscripts: Bump to latest commit for repos/archive split fixes
0ebae15 ("chore(cron-jobs): Remove obsolete integrity-check script and friends")
2edd43d ("feat(db-archive): Archive package files atomically")
a56c710 ("feat(db-functions): Check the archive index in check_reproducible")
ea98599 ("fix(db-functions): Suppress realpath error output")

Fix #531
2025-01-19 12:31:44 +01:00

12 lines
288 B
SYSTEMD

[Unit]
# Fail-safe in case this is accidentally deployed on an archive server
ConditionPathExists=!/srv/archive/repos
[Service]
User=archive
Type=oneshot
ExecStart=/srv/repos/git-packages/dbscripts/cron-jobs/archive-index
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/srv/archive