You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

barrier-ssh-connection@.service.j2 365B

1234567891011121314
  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 --wait restart barrier-unlock-lockscreen.service;\
  9. exec cat > .barrier-unlock-lockscreen.fifo
  10. [Install]
  11. WantedBy=graphical-session.target