You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-plex/init/11_new_user.sh

16 lines
406 B

#!/bin/bash
if [ -n "$PUID" -a "$(id -u abc)" != "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
if [ -n "$PGID" -a "$(id -g abc)" != "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
echo "
-----------------------------------
Plex GID/UID
-----------------------------------
Plex uid: $(id -u abc)
Plex gid: $(id -g abc)
-----------------------------------
Plex will now continue to boot.
"
sleep 2