diff options
Diffstat (limited to 'acct')
-rw-r--r-- | acct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Logrotate file for acct -/var/log/acct/acct { +/var/log/account/pacct { compress delaycompress notifempty @@ -9,7 +9,7 @@ create 0600 root root postrotate if /usr/bin/systemctl --quiet is-active acct.service ; then - /usr/sbin/accton /var/log/acct/acct | /usr/bin/grep -v "Turning on process accounting." | /usr/bin/cat + /usr/sbin/accton /var/log/account/pacct | /usr/bin/grep -v "Turning on process accounting, file set to '/var/log/account/pacct'." | /usr/bin/cat fi endscript } |