Pārlūkot izejas kodu

fix barrier ssh client connection

pull/1/head
vecāks
revīzija
a22a5dcb7b
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      templates/barrier/barrier-ssh-connection@.service.j2

+ 2
- 1
templates/barrier/barrier-ssh-connection@.service.j2 Parādīt failu

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