This commit is contained in:
Jackson Delahunt 2019-07-12 09:11:28 +10:00
parent e962bef837
commit 5a05a43749

View file

@ -3,17 +3,10 @@ REPO_ROOT=$(dirname $(readlink -f $0))/../..
# Export desktop environment shell configuration
eval "$($REPO_ROOT/docker/scripts/environment.sh)"
# Ensure the desktop environment shell session exists
docker exec \
--detach \
$DESKTOP_ENVIRONMENT_CONTAINER_NAME \
tmux new-session \
-s desktop-environment-shell \
-d
# Start a new tmux client attached to the desktop environment shell
docker exec \
--detach \
--interactive \
--tty \
$DESKTOP_ENVIRONMENT_CONTAINER_NAME \
tmux new-session \
-s desktop-environment-shell-$(date +%s) \