use vdr.user variable for xlogin session start
This commit is contained in:
parent
2167d28123
commit
e9cc0fec54
@ -1467,7 +1467,7 @@ b'\xde\xad\xbe\xef'
|
|||||||
|
|
||||||
- name: Stop xlogin
|
- name: Stop xlogin
|
||||||
systemd:
|
systemd:
|
||||||
name: xlogin@vdr.service
|
name: 'xlogin@{{ vdr.user }}.service'
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
@ -1611,8 +1611,9 @@ b'\xde\xad\xbe\xef'
|
|||||||
src: /usr/bin/start-desktop
|
src: /usr/bin/start-desktop
|
||||||
dest: /var/lib/vdr/plugins/desktop/starter
|
dest: /var/lib/vdr/plugins/desktop/starter
|
||||||
state: link
|
state: link
|
||||||
|
force: false
|
||||||
|
|
||||||
- name: enable and start xlogin for the user vdr
|
- name: enable and start xlogin for the vdr user
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: 'xlogin@{{ vdr.user }}'
|
name: 'xlogin@{{ vdr.user }}'
|
||||||
|
@ -90,8 +90,9 @@
|
|||||||
src: /usr/bin/start-desktop
|
src: /usr/bin/start-desktop
|
||||||
dest: /var/lib/vdr/plugins/desktop/starter
|
dest: /var/lib/vdr/plugins/desktop/starter
|
||||||
state: link
|
state: link
|
||||||
|
force: false
|
||||||
|
|
||||||
- name: enable and start xlogin for the user vdr
|
- name: enable and start xlogin for the vdr user
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: 'xlogin@{{ vdr.user }}'
|
name: 'xlogin@{{ vdr.user }}'
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
- name: Stop xlogin
|
- name: Stop xlogin
|
||||||
systemd:
|
systemd:
|
||||||
name: xlogin@vdr.service
|
name: 'xlogin@{{ vdr.user }}.service'
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user