diff --git a/build/entrypoint.sh b/build/entrypoint.sh index 2a836f5..f5fd902 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -30,12 +30,7 @@ else socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 & socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 & - # Start protonmail - # Fake a terminal, so it does not quit because of EOF... - rm -f faketty - mkfifo faketty - - tmux new-session -d -s bridge "cat faketty | /protonmail/proton-bridge --cli $@" + tmux new-session -d -s bridge "/protonmail/proton-bridge --cli $@" echo "ProtonMail Bridge running inside tmux session 'bridge'" echo "Attach with: docker exec -it tmux attach -t bridge"