summarylogtreecommitdiffstats
path: root/acct
diff options
context:
space:
mode:
authorSorin-Mihai Vârgolici2018-12-20 09:30:13 +0200
committerSorin-Mihai Vârgolici2018-12-20 09:30:13 +0200
commit16bb5d2ae8f85b6dc0786d026b4fa1bbff574286 (patch)
tree5ad1764190aee62363873447eacbde4a7118f626 /acct
parentb555cb940a1faf409b21a958036d949d89fe31fe (diff)
downloadaur-16bb5d2ae8f85b6dc0786d026b4fa1bbff574286.tar.gz
Changed log file location to something more common in other distros
Diffstat (limited to 'acct')
-rw-r--r--acct4
1 files changed, 2 insertions, 2 deletions
diff --git a/acct b/acct
index d3b4fb77439b..c81b88d3ac19 100644
--- a/acct
+++ b/acct
@@ -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
}