Bläddra i källkod

fix barrier ssh client connection

pull/1/head
förälder
incheckning
a22a5dcb7b
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      templates/barrier/barrier-ssh-connection@.service.j2

+ 2
- 1
templates/barrier/barrier-ssh-connection@.service.j2 Visa fil

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