All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m13s
15 lines
365 B
Bash
15 lines
365 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
CFG="/var/www/html/daloradius/common/includes/daloradius.conf.php"
|
|
TMPL="/opt/daloradius.conf.php.tmpl"
|
|
OVR="/opt/override-db.php"
|
|
|
|
# Always (re)seed from upstream sample, then append our override
|
|
mkdir -p "$(dirname "$CFG")"
|
|
cp -f "$TMPL" "$CFG"
|
|
cat "$OVR" >> "$CFG"
|
|
|
|
# Start Apache in foreground
|
|
exec apachectl -DFOREGROUND
|