summaryrefslogtreecommitdiff
path: root/integration/scripts/files/elements/guest-agent/install.d/guest-agent-source-install/guest-agent.logrotate
blob: 2a42143a4924e9a673ecc45ae74fb537c999bba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/guest-agent.log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        # Signal name shall not have the SIG prefix in kill command
        # http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html
        kill -s USR1 $(cat /var/run/guest-agent.pid)
    endscript
}