您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

17 行
540B

  1. {{ ansible_managed | comment }}
  2. [Unit]
  3. Description=barrier ssh connection
  4. PartOf=graphical-session.target
  5. [Service]
  6. Type=simple
  7. ExecStart=sh -c "sleep infinity | ssh $@" ssh -R 24800:localhost:24800 %i\
  8. systemctl --user stop lockscreen.service;\
  9. systemctl --user start barrierc@localhost.service;\
  10. systemd-run --user -u lockscreen-barrier-unlock sh -c "\"cat < lock > /dev/null; systemctl --user start lockscreen.service; systemctl --user stop barrierc@localhost.service;\"";\
  11. exec cat > lock
  12. [Install]
  13. WantedBy=graphical-session.target