2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-06-10 13:11:12 +00:00

Fix Plex running as root

This commit is contained in:
2017-05-14 17:51:33 +01:00
parent 47ccdf64dc
commit f31ab482d8
2 changed files with 11 additions and 9 deletions

View File

@ -24,4 +24,4 @@ RUN wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.9/libstdc++6_4.9.2-10
WORKDIR /usr/lib/plexmediaserver
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["su-exec", "$UID:$GID", "start_pms"]
CMD exec su-exec $UID:$GID start_pms