Kristyna Streitova
3e6544a8e2
- Use just /var/log/acct/pacct file and remove the tmpfiles creation completely - Use try-restart not restart on logrotate update, otherwise we could suprisingly start the service for user, which is not desired - Cleanup with spec-cleaner - Use tmpfiles creation instead of hand-written shell script OBS-URL: https://build.opensuse.org/request/show/313079 OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=45
16 lines
231 B
Plaintext
16 lines
231 B
Plaintext
/var/log/account/pacct {
|
|
compress
|
|
dateext
|
|
maxage 365
|
|
rotate 99
|
|
size=+4096k
|
|
notifempty
|
|
missingok
|
|
create 640 root root
|
|
postrotate
|
|
/usr/bin/systemctl try-restart acct.service
|
|
endscript
|
|
}
|
|
|
|
|