docker/fileserver/entrypoint.sh
2024-02-28 13:18:16 +01:00

10 lines
130 B
Bash
Executable File

#!/bin/bash -e
if [ -n "$PGID" ]; then
groupmod -g "$PGID" nginx
fi
if [ -n "$PUID" ]; then
usermod -u "$PUID" nginx
fi