summaryrefslogtreecommitdiff
blob: 07696f7329dc00b868aa214aa4c0bff1bca0676b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Logrotate file for acct

/var/account/pacct {
	compress
	delaycompress
	notifempty
	daily
	rotate 31
	create 0600 root root
	missingok
	postrotate
		if test -d /run/systemd/system ; then
			systemctl try-restart acct 1>/dev/null
		else
			/etc/init.d/acct --quiet --ifstarted restart
		fi
	endscript
}