add default configs and s6-overlay
Some checks failed
/ release-and-build (push) Failing after 14s

This commit is contained in:
2026-02-24 17:10:16 +01:00
parent 05e77cf79c
commit 98e6dc77ee
24 changed files with 194 additions and 61 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
echo "Start: init-rsync-config run script"
mkdir -p /config /app/www
if [ ! -f /config/rsyncd.conf ]; then
echo "Copy default-config..."
cp /defaults/rsyncd.conf /config/rsyncd.conf
fi
echo "Set permissions to PUID: ${PUID:-911} and PGID: ${PGID:-1000}"
chown -R "${PUID:-911}:${PGID:-1000}" /config
chown -R "${PUID:-911}:${PGID:-1000}" /app/www
echo "Finish: init-rsync-config"