bundlewrap/bundles/rsyslogd/items.py
2023-08-28 17:21:48 +02:00

19 lines
305 B
Python

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',
},
}