bundlewrap/bundles/rsyslogd/items.py

19 lines
305 B
Python
Raw Permalink Normal View History

2023-08-28 15:21:48 +00:00
files['/etc/logrotate.d/rsyslog'] = {
'source': 'logrotate.conf',
}
files['/etc/rsyslog.conf'] = {
'triggers': {
'svc_systemd:rsyslog:restart',
},
}
svc_systemd['rsyslog'] = {
'needs': {
'pkg_apt:rsyslog',
},
'after': {
'file:/etc/rsyslog.conf',
},
}