mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-03-26 21:35:58 +00:00
Forgot to remove faketty
This commit is contained in:
parent
c9bec759ba
commit
44409ae4d2
@ -30,12 +30,7 @@ else
|
|||||||
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 &
|
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 &
|
||||||
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 &
|
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 &
|
||||||
|
|
||||||
# Start protonmail
|
tmux new-session -d -s bridge "/protonmail/proton-bridge --cli $@"
|
||||||
# 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 $@"
|
|
||||||
echo "ProtonMail Bridge running inside tmux session 'bridge'"
|
echo "ProtonMail Bridge running inside tmux session 'bridge'"
|
||||||
echo "Attach with: docker exec -it <container> tmux attach -t bridge"
|
echo "Attach with: docker exec -it <container> tmux attach -t bridge"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user