Use yavdr-xorg to control xlogin@vdr.service and x@vt7.service

This commit is contained in:
Alexander Grothe
2018-04-24 09:56:29 +02:00
parent a330dd00a2
commit 96d2cc9a08
6 changed files with 521 additions and 470 deletions

View File

@@ -124,9 +124,9 @@
dest: /var/lib/vdr/plugins/desktop/starter
state: link
- name: enable and start xlogin for the vdr user
- name: enable and start yavdr-xorg for the vdr user
systemd:
daemon_reload: yes
name: 'xlogin@{{ vdr.user }}'
name: 'yavdr-xorg'
enabled: yes
state: started

View File

@@ -18,6 +18,13 @@
enabled: yes
notify: ['Start VDR']
- name: Stop yavdr-xorg
systemd:
name: 'yavdr-xorg'
state: stopped
enabled: yes
notify: ['Start yavdr-xorg']
- name: Stop xlogin
systemd:
name: 'xlogin@{{ vdr.user }}.service'

View File

@@ -59,6 +59,7 @@
state: present
with_items:
- xlogin
- yavdr-xorg
- xorg
- xserver-xorg-input-all
- xserver-xorg-video-all