Start xlogin@vdr after xorg.detect using a handler
This commit is contained in:
parent
fbb6003cf9
commit
b1ebc54438
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,6 +22,7 @@
|
||||
systemd:
|
||||
name: 'xlogin@{{ vdr.user }}.service'
|
||||
state: stopped
|
||||
notify: ['xlogin_start']
|
||||
|
||||
- name: Stop x
|
||||
systemd:
|
||||
|
Loading…
Reference in New Issue
Block a user