您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- {{ ansible_managed | comment }}
-
- [Unit]
- Description=barrier ssh connection
- PartOf=graphical-session.target
-
- [Service]
- Type=simple
- 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 cat > lock
-
- [Install]
- WantedBy=graphical-session.target
|