docker-media-repo/root/etc/s6.d/media-repo/run
Jan Christian Grünhage d671ada6b7
All checks were successful
the build was successful
initial impl
2018-01-13 15:21:19 +01:00

11 lines
185 B
Bash
Executable file

#!/usr/bin/env sh
chown -R ${UID}:${GID} /data
cd /data
if [ ! -f media_repo.yaml ]; then
cp /etc/media_repo.yaml.sample media_repo.yaml
fi
exec su-exec ${UID}:${GID} media_repo