diff options
Diffstat (limited to 'sys-process/acct/files/acct.logrotate')
-rw-r--r-- | sys-process/acct/files/acct.logrotate | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sys-process/acct/files/acct.logrotate b/sys-process/acct/files/acct.logrotate index 1d6a1727fbba..766d4c05bef2 100644 --- a/sys-process/acct/files/acct.logrotate +++ b/sys-process/acct/files/acct.logrotate @@ -1,21 +1,21 @@ # Logrotate file for acct /var/account/pacct { - prerotate - if [ -h /lib/rc/init.d/started/acct ]; then - /etc/init.d/acct stop > /dev/null 2>&1 || true - fi - endscript - compress - delaycompress - notifempty - daily - rotate 31 - create 0600 root root - missingok - postrotate - if [ -h /lib/rc/init.d/started/acct ]; then - /etc/init.d/acct start > /dev/null 2>&1 || true - fi - endscript -} + prerotate + if [ -h /lib/rc/init.d/started/acct ]; then + /etc/init.d/acct stop > /dev/null 2>&1 || true + fi + endscript + compress + delaycompress + notifempty + daily + rotate 31 + create 0600 root root + missingok + postrotate + if [ -h /lib/rc/init.d/started/acct ]; then + /etc/init.d/acct start > /dev/null 2>&1 || true + fi + endscript +} |