Skip to content

Commit

Permalink
remove bad run
Browse files Browse the repository at this point in the history
  • Loading branch information
azlux committed Nov 6, 2024
1 parent 30274e8 commit 2d41510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ echo "Preparing Mumble server to run as uid=$(MUMBLE_UID) gid=$(MUMBLE_GID)"
if [[ "$MUMBLE_UID" != "0" ]]; then
groupmod -og "$MUMBLE_GID" mumble
usermod -ou "$MUMBLE_UID" mumble
echo "The mumble server will start with uid ${MUMBLE_UID} and gid ${MUMBLE_GID}"
if [[ "$MUMBLE_CHOWN" = true ]]; then
echo "Changing owner of folder ${DATA_DIR}"
echo "Changing owner of folder ${DATA_DIR} to mumble:mumble"
chown -R mumble:mumble "${DATA_DIR}"
fi
exec runuser -u mumble -g mumble -- "$@"
fi

echo "\"${DATA_DIR}\" has the following permissions set:"
Expand Down

0 comments on commit 2d41510

Please sign in to comment.