- Implemented sync-roles.sh to synchronize Active Directory group memberships as MariaDB roles and user accounts. - Created Containerfile for building a custom ldap2pg image with patched YAML decoding. - Added provision-user-db.sh for provisioning user databases and roles based on LDAP synchronization. - Introduced a new Containerfile for MariaDB with PAM authentication via pam_ldap. - Configured PAM service for MariaDB logins and added necessary plugins for LDAP authentication. - Implemented health checks and entrypoint scripts for MariaDB and pgpool containers. - Enhanced PostgreSQL image with additional extensions and custom pg_hba.conf for improved security and functionality.
8 lines
234 B
Bash
8 lines
234 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# ── Clean up stale PID files from previous runs ───────────────────────────
|
|
rm -f /tmp/pgpool.pid /var/run/pgpool/pgpool.pid
|
|
|
|
exec "$@"
|