Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
games/base: Create tmux socket folder on startup if it doesn't exist yet
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
Timo Reichl committed Jun 20, 2022
1 parent 22790f0 commit a662d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions image/games/base/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if [ $(id -u) -eq 0 ]; then
# Change ownership of tmux session folder to new steamcmd GID and UID
tmux_socket_dir=$(dirname ${STEAMCMD_SERVER_SESSION_SOCKET})
echo "Fixing ownership of ${tmux_socket_dir}"
mkdir -p ${tmux_socket_dir}
chown -R steamcmd:steamcmd ${tmux_socket_dir}

# Call to gosu to drop from root user to steamcmd user
Expand Down

0 comments on commit a662d25

Please sign in to comment.