mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Change Docker default PUID and PGID
This commit is contained in:
parent
9dd8cc9e49
commit
c7a3e1e3bf
1 changed files with 2 additions and 2 deletions
4
start.sh
4
start.sh
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$TAUTULLI_DOCKER" = "True" ]]; then
|
||||
PUID=${PUID:-1000}
|
||||
PGID=${PGID:-1000}
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
getent group tautulli 2>&1 > /dev/null || groupadd -g "$PGID" tautulli
|
||||
getent passwd tautulli 2>&1 > /dev/null || useradd -r -u "$PUID" -g tautulli tautulli
|
||||
chown -f -R tautulli:tautulli /config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue