feat: activate Rocky server profile for prometheus

This commit is contained in:
Fabio Scotto di Santolo
2026-09-07 23:52:56 +02:00
parent e0a81d6a70
commit 4dd3d65267
16 changed files with 85 additions and 273 deletions

View File

@@ -1,5 +1,5 @@
# Server
- Ubuntu minimal server
- Rocky Linux 9 server
- Self-hosting services
- Low attack surface

View File

@@ -1,17 +0,0 @@
case "$(uname -r 2>/dev/null)" in
*[Mm]icrosoft*) ;;
*) return ;;
esac
command -v gpgconf >/dev/null 2>&1 || return
if tty -s; then
export GPG_TTY="$(tty)"
fi
gpgconf --launch gpg-agent >/dev/null 2>&1
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
if [ -n "${GPG_TTY-}" ]; then
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
fi