Start xlogin@vdr after xorg.detect using a handler

This commit is contained in:
Alexander Grothe 2018-01-07 17:55:18 +01:00
parent fbb6003cf9
commit b1ebc54438
3 changed files with 18 additions and 0 deletions

View File

@ -1818,6 +1818,7 @@ b'\xde\xad\xbe\xef'
systemd:
name: 'xlogin@{{ vdr.user }}.service'
state: stopped
notify: ['xlogin_start']
- name: Stop x
systemd:
@ -4774,6 +4775,14 @@ if __name__ == '__main__':
enabled: yes
register: xlogin_stop
- name: enable and start xlogin for the vdr user
systemd:
daemon_reload: yes
name: 'xlogin@{{ vdr.user }}'
enabled: yes
state: started
register: xlogin_start
- name: Stop x
systemd:
name: x@vt7.service

View File

@ -48,6 +48,14 @@
enabled: yes
register: xlogin_stop
- name: enable and start xlogin for the vdr user
systemd:
daemon_reload: yes
name: 'xlogin@{{ vdr.user }}'
enabled: yes
state: started
register: xlogin_start
- name: Stop x
systemd:
name: x@vt7.service

View File

@ -22,6 +22,7 @@
systemd:
name: 'xlogin@{{ vdr.user }}.service'
state: stopped
notify: ['xlogin_start']
- name: Stop x
systemd: