add template for environment loader of vdr.service

This commit is contained in:
Alexander Grothe 2017-06-22 13:29:57 +02:00
parent 86488b5a79
commit 87600748ee

View File

@ -9,6 +9,16 @@
enabled: yes
notify: ['Start VDR']
- name: create directory /etc/systemd/system/vdr.service.d/
file:
dest: /etc/systemd/system/vdr.service.d/
state: directory
- name: add environment file for vdr.service
template:
src: templates/systemd/vdr-environ.j2
dest: /etc/systemd/system/vdr.service.d/load-environ.conf
- name: Stop xlogin
systemd:
name: xlogin@vdr.service