bundlewrap/bundles/oidentd/items.py

25 lines
537 B
Python
Raw Permalink Normal View History

2021-03-21 16:40:58 +00:00
files = {
'/etc/oidentd.conf': {
'content_type': 'mako',
'triggers': {
'svc_systemd:oidentd:restart',
},
},
'/usr/local/lib/systemd/system/oidentd.service': {
'triggers': {
'action:systemd-reload',
'svc_systemd:oidentd:restart',
},
},
2021-03-21 16:40:58 +00:00
}
svc_systemd = {
'oidentd': {
'needs': {
'pkg_apt:oidentd',
'file:/etc/oidentd.conf',
'file:/usr/local/lib/systemd/system/oidentd.service',
2021-03-21 16:40:58 +00:00
},
},
}