let softhddevice start detached

This commit is contained in:
Alexander Grothe 2017-07-31 08:22:05 +02:00
parent 439f9a5702
commit 2bb3b5758a
2 changed files with 16 additions and 0 deletions

View File

@ -1415,6 +1415,14 @@ b'\xde\xad\xbe\xef'
src: templates/systemd/vdr-environ.j2 src: templates/systemd/vdr-environ.j2
dest: /etc/systemd/system/vdr.service.d/load-environ.conf dest: /etc/systemd/system/vdr.service.d/load-environ.conf
- name: start softhddevice detached and set audio to pulseaudio
lineinfile:
path: /etc/vdr/conf.avail/softhddevice.conf
line: {{ item }}
with_items:
- '-D'
# - '-a pulse' # do we need this with our existing asound.conf?
- name: set a login shell for the user vdr - name: set a login shell for the user vdr
user: user:
name: '{{ vdr.user }}' name: '{{ vdr.user }}'

View File

@ -13,6 +13,14 @@
src: templates/systemd/vdr-environ.j2 src: templates/systemd/vdr-environ.j2
dest: /etc/systemd/system/vdr.service.d/load-environ.conf dest: /etc/systemd/system/vdr.service.d/load-environ.conf
- name: start softhddevice detached and set audio to pulseaudio
lineinfile:
path: /etc/vdr/conf.avail/softhddevice.conf
line: {{ item }}
with_items:
- '-D'
# - '-a pulse' # do we need this with our existing asound.conf?
- name: set a login shell for the user vdr - name: set a login shell for the user vdr
user: user:
name: '{{ vdr.user }}' name: '{{ vdr.user }}'