File: test-config.4.in

package info (click to toggle)
logrotate 3.8.1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,016 kB
  • sloc: ansic: 3,347; sh: 345; makefile: 149
file content (15 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
create

&DIR&/test*.log {
    monthly
    rotate 1
    mail user@myhost.org
    maillast
    sharedscripts

    postrotate
	touch scriptout
	echo $(cat scriptout) foo > foo
	mv foo scriptout
    endscript
}