nginx-proxy-manager-zh/docker/rootfs/etc/cont-init.d/01_perms.sh

8 lines
159 B
Bash
Raw Normal View History

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