浏览代码

fix barrier ssh connection

pull/1/head
父节点
当前提交
f1825f26c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      templates/barrier/barrier-ssh-connection@.service.j2

+ 1
- 1
templates/barrier/barrier-ssh-connection@.service.j2 查看文件

@@ -10,7 +10,7 @@ ExecStart=sh -c "sleep infinity | ssh $@" ssh -R 24800:localhost:24800 %i\
systemctl --user stop lockscreen.service;\
systemctl --user start barrierc@localhost.service;\
systemd-run --user -u lockscreen-barrier-unlock sh -c "\"cat < lock > /dev/null; systemctl --user start lockscreen.service; systemctl --user stop barrierc@localhost.service;\"";\
exec > lock
exec cat > lock

[Install]
WantedBy=graphical-session.target