diff --git a/acct.changes b/acct.changes index 57f4a0f..bd078a8 100644 --- a/acct.changes +++ b/acct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 1 19:49:50 UTC 2015 - p.drouand@gmail.com + +- Fixthe log path in service and logrotate files; fix bnc#915654 + ------------------------------------------------------------------- Fri Dec 19 13:01:30 UTC 2014 - p.drouand@gmail.com diff --git a/acct.service b/acct.service index af013fc..952b7b0 100644 --- a/acct.service +++ b/acct.service @@ -2,13 +2,13 @@ Description=Process accounting Documentation=man:accton(8) After=syslog.target -ConditionPathExists=/var/account +ConditionPathExists=/var/log/account/pacct [Service] Type=oneshot RemainAfterExit=true ExecStartPre=/usr/lib/account/create -ExecStart=/usr/sbin/accton /var/account/pacct +ExecStart=/usr/sbin/accton /var/log/account/pacct ExecStop=/usr/sbin/accton off [Install] diff --git a/logrotate.acct b/logrotate.acct index 40e4cf3..0a1c142 100644 --- a/logrotate.acct +++ b/logrotate.acct @@ -1,4 +1,4 @@ -/var/account/pacct { +/var/log/account/pacct { compress dateext maxage 365