config/sysinv/cert-alarm/files/cert-alarm.logrotate
Sabeel Ansari 0fa425fd94 Add cert-alarm service
This is a new service being added to alarm expiring certificates.
The service will run on all active controllers.

Initial commit is just the skeleton structure. Tested by installing
an ISO image and new service comes up under 'smc service-list'.

Story: 2008946
Task: 42852

Depends-on: https://review.opendev.org/c/starlingx/ha/+/801118
Depends-on: https://review.opendev.org/c/starlingx/stx-puppet/+/801117

Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
Change-Id: I8ee12db6903bd2d29230e4adf9f1823b3d4655ee
2021-07-22 08:29:23 -04:00

15 lines
205 B
Plaintext

/var/log/cert-alarm.log
{
nodateext
size 2M
start 1
rotate 20
missingok
notifempty
compress
sharedscripts
postrotate
systemctl reload syslog-ng > /dev/null 2>&1 || true
endscript
}