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