root/etc/s6-overlay/s6-rc.d/init-hibp/run aktualisiert

This commit is contained in:
2026-03-25 08:55:37 +00:00
parent 3a7a942587
commit 08d2915f2f

View File

@@ -4,7 +4,12 @@ echo "Start: init-hibp-config run script"
mkdir -p /data
if [ ! -f /data/*.bin ]; then
echo "Downloading /data/hibp_all.sha1.bin"
hibp-download /data/hibp_all.sha1.bin
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}" /data
echo "Finish: init-hibp-config"