Sfoglia il codice sorgente

fix barrier ssh client connection

pull/1/head
parent
commit
a22a5dcb7b
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      templates/barrier/barrier-ssh-connection@.service.j2

+ 2
- 1
templates/barrier/barrier-ssh-connection@.service.j2 Vedi File

@@ -7,7 +7,8 @@ PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=sh -c "sleep infinity | ssh $@" ssh -R 24800:localhost:24800 %i\
systemctl --user --wait restart barrier-unlock-lockscreen.service;\
fish -c "\"not test -p .barrier-unlock-lockscreen.fifo && mkfifo .barrier-unlock-lockscreen.fifo; test -p .barrier-unlock-lockscreen.fifo\"";\
systemctl --user restart barrier-unlock-lockscreen.service;\
exec cat > .barrier-unlock-lockscreen.fifo

[Install]