Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Repozitorijs ir arhivēts. Tam var aplūkot failus un to var klonēt, bet nevar iesūtīt jaunas izmaiņas, kā arī atvērt jaunas problēmas/izmaiņu pieprasījumus.

29 rindas
944B

  1. {{ ansible_managed | comment }}
  2. #
  3. # /usr/lib/systemd/user/vncserver@.service
  4. #
  5. # 1. Switches for vncserver should be entered in ~/.vnc/config rather than
  6. # hard-coded into this unit file. See the vncserver(1) manpage.
  7. #
  8. # 2. Users wishing for the server to continue running after the owner logs
  9. # out MUST enable 'linger' with loginctl like this:
  10. # `loginctl enable-linger username`
  11. #
  12. # 3. The server can be enabled and started like this once configured:
  13. # `systemctl --user start eralitex@:<display>.service`
  14. # `systemctl --user enable eralitex@:<display>.service`
  15. [Unit]
  16. Description=eralitex vdesk service - display %i
  17. After=syslog.target network.target
  18. [Service]
  19. Type=forking
  20. ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
  21. ExecStart=/usr/bin/fish -c "/usr/bin/vncserver -xstartup {{eralitex_directory}}/vdesk/xsession %i"
  22. ExecStop=/usr/bin/vncserver -kill %i
  23. [Install]
  24. WantedBy=default.target