nginx-proxy-manager/docker/rootfs/etc/cont-init.d/01_perms.sh
2021-07-25 21:09:02 +10:00

8 lines
159 B
Bash
Executable File

#!/usr/bin/with-contenv bash
set -e
mkdir -p /data/logs
echo "Changing ownership of /data/logs to $(id -u):$(id -g)"
chown -R "$(id -u):$(id -g)" /data/logs