We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 923bc98 + a9894a4 commit 87b6a64Copy full SHA for 87b6a64
docker-entrypoint.sh
@@ -12,8 +12,8 @@ if [ `id -u` -eq 0 ] && [ `id -g` -eq 0 ]; then
12
echo "Changing ownership of download and state directories to ${UID}:${GID}"
13
chown -R "${UID}":"${GID}" /app "${DOWNLOAD_DIR}" "${STATE_DIR}" "${TEMP_DIR}"
14
echo "Running MeTube as user ${UID}:${GID}"
15
- su-exec "${UID}":"${GID}" python3 app/main.py
+ exec su-exec "${UID}":"${GID}" python3 app/main.py
16
else
17
echo "User set by docker; running MeTube as `id -u`:`id -g`"
18
- python3 app/main.py
+ exec python3 app/main.py
19
fi
0 commit comments