Selaa lähdekoodia

fix barrier ssh client connection

pull/1/head
vanhempi
commit
a22a5dcb7b
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      templates/barrier/barrier-ssh-connection@.service.j2

+ 2
- 1
templates/barrier/barrier-ssh-connection@.service.j2 Näytä tiedosto

@@ -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]