bundles/kodi: introduce

This commit is contained in:
Franzi 2020-10-03 13:36:12 +02:00
parent fc44a9cd69
commit 32fd2f7a7b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 88 additions and 0 deletions

33
bundles/kodi/items.py Normal file
View file

@ -0,0 +1,33 @@
files = {
'/etc/systemd/system/kodi.service': {
'triggers': {
'action:systemd-reload',
'svc_systemd:kodi:restart',
},
},
'/etc/systemd/system/pulseaudio.service': {
'triggers': {
'action:systemd-reload',
'svc_systemd:pulseaudio:restart',
},
},
'/etc/X11/Xwrapper.config': {},
}
svc_systemd = {
'kodi': {
'needs': {
'file:/etc/systemd/system/kodi.service',
'file:/etc/X11/Xwrapper.config',
'pkg_apt:kodi',
'user:kodi',
'svc_systemd:pulseaudio',
},
},
'pulseaudio': {
'needs': {
'file:/etc/systemd/system/pulseaudio.service',
'pkg_apt:pulseaudio',
},
},
}