7 lines
307 B
Bash
7 lines
307 B
Bash
#!/bin/bash
|
|
echo "Seeding default configuration from image..."
|
|
# Copy all hidden and visible files from /custom-defaults to /config without overwriting existing files
|
|
cp -a --update=none /custom-defaults/. /config/ || true
|
|
# Ensure the application user owns the configuration files
|
|
chown -R abc:abc /config
|