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
|
||||
systemd:
|
||||
name: xlogin@vdr.service
|
||||
name: 'xlogin@{{ vdr.user }}.service'
|
||||
state: stopped
|
||||
enabled: yes
|
||||
|
||||
@ -1611,8 +1611,9 @@ b'\xde\xad\xbe\xef'
|
||||
src: /usr/bin/start-desktop
|
||||
dest: /var/lib/vdr/plugins/desktop/starter
|
||||
state: link
|
||||
force: false
|
||||
|
||||
- name: enable and start xlogin for the user vdr
|
||||
- name: enable and start xlogin for the vdr user
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
name: 'xlogin@{{ vdr.user }}'
|
||||
|
@ -90,8 +90,9 @@
|
||||
src: /usr/bin/start-desktop
|
||||
dest: /var/lib/vdr/plugins/desktop/starter
|
||||
state: link
|
||||
force: false
|
||||
|
||||
- name: enable and start xlogin for the user vdr
|
||||
- name: enable and start xlogin for the vdr user
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
name: 'xlogin@{{ vdr.user }}'
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
- name: Stop xlogin
|
||||
systemd:
|
||||
name: xlogin@vdr.service
|
||||
name: 'xlogin@{{ vdr.user }}.service'
|
||||
state: stopped
|
||||
enabled: yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user