Files
repmgr/RHEL/repmgrd.logrotate
Martin 3937670d14 Added logrotate configuration file (for those who would like one ;))
and changed parameters in sysconfig file so that we use /var/log for
logs and /var/run for pid files.
2016-05-23 13:30:05 -03:00

15 lines
266 B
Plaintext

/var/log/repmgr/repmgr.log {
missingok
copytruncate
compress
notifempty
sharedscripts
create 0640 postgres postgres
nodateext
weekly
rotate 8
postrotate
/bin/kill -HUP `cat /var/run/repmgr/repmgrd.pid 2>/dev/null` 2> /dev/null || true
endscript
}