bundlewrap/bundles/scansnap/items.py

26 lines
419 B
Python
Raw Normal View History

directories = {
'/etc/scanbd/scripts': {
'purge': True,
},
}
files = {
'/etc/scanbd/scanbd.conf': {
'triggers': {
'svc_systemd:scanbd:restart',
},
},
'/etc/scanbd/scripts/scan.sh': {
'mode': '0755',
},
}
svc_systemd = {
'scanbd': {
'needs': {
'file:/etc/scanbd/scanbd.conf',
'pkg_apt:scanbd',
},
},
}