refactor(server)!: rename archrepo to repo
The repository, its Python service, its systemd units, its token file and its environment prefix still carried the old name, which matches nothing public any more. Paths, units, user and variables now use repo: REPO_*, /etc/repo/token, /var/lib/repo, repo.service and repo-prune.timer. A server installed before this change keeps the old user, paths and token: run server/install.sh again to recreate them.
This commit is contained in:
1 parent
b689351535
commit
30cb9c9fc2
8 files changed
+80
-77
No files matched your search
+3
-3
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# archrepo — rétention : ne garde que les N versions les plus récentes de chaque
|
||||
# repo — rétention : ne garde que les N versions les plus récentes de chaque
|
||||
# paquet et supprime les fichiers des versions plus anciennes.
|
||||
#
|
||||
# ./prune.sh # garde 3 versions par paquet
|
||||
@@ -15,9 +15,9 @@
|
||||
set -euo pipefail
|
||||
|
||||
REPO_URL="${REPO_URL:-http://127.0.0.1:30065}"
|
||||
TOKEN_FILE="${ARCHREPO_TOKEN_FILE:-/etc/archrepo/token}"
|
||||
TOKEN_FILE="${REPO_TOKEN_FILE:-/etc/repo/token}"
|
||||
REPO_TOKEN="${REPO_TOKEN:-}"
|
||||
KEEP="${ARCHREPO_KEEP:-3}"
|
||||
KEEP="${REPO_KEEP:-3}"
|
||||
DRY_RUN=0
|
||||
|
||||
usage() {
|
||||
|
||||
Reference in new issue
Block a user