copr/keygen/files/backup_keyring.sh: update the comment section

This commit is contained in:
Pavel Raiskup 2025-01-13 09:24:07 +01:00
parent db6ca9afee
commit b3dca04377

View file

@ -1,8 +1,14 @@
#!/bin/sh
# used as root
# root gpg keychain should have PUBLIC key with `user name` copr-keygen-backup-key
# (per https://pagure.io/fedora-infrastructure/issue/8904)
# - used as root
# - executed hourly, overwriting the "daily file" in /backup dir
# - the Fedora Infra backup mechanism pulls that file, overwriting its own
# "daily" copy
# - it means we should always have at most a 24h-old backup
# - the root gpg keychain should have PUBLIC key with `user name`
# copr-keygen-backup-key, per
# https://pagure.io/fedora-infrastructure/issue/8904
# - fixed in https://github.com/fedora-copr/copr/issues/3532
PATH_TO_KEYRING_DIR="/var/lib/copr-keygen"
BACKUP_DIR=/backup