lab7
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-11-26 23:34:55 +03:00
parent 20afc2c790
commit a25f357314
167 changed files with 33202 additions and 89 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
root="$PWD"
command -v crontab >/dev/null || { echo 'Install cron before enabling host certificate renewal.' >&2; exit 1; }
(crontab -l 2>/dev/null | sed '\|# lab7-pki-renew$|d' || true
printf '0 */12 * * * cd %q && scripts/renew-pki.sh >> secrets/operator/renewal.log 2>&1 # lab7-pki-renew\n' "$root") | crontab -
echo 'Installed operator certificate renewal every 12 hours.'