bundlewrap/bundles/oidentd/items.py
Franziska Kunsmann a340071ad8
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
bundles/oidentd: provide our own systemd unit file
2022-04-03 08:32:07 +02:00

24 lines
537 B
Python

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',
},
},
}
svc_systemd = {
'oidentd': {
'needs': {
'pkg_apt:oidentd',
'file:/etc/oidentd.conf',
'file:/usr/local/lib/systemd/system/oidentd.service',
},
},
}