File: yrmcds.logrotate

package info (click to toggle)
yrmcds 1.1.8-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,000 kB
  • sloc: cpp: 11,157; sh: 148; makefile: 117
file content (13 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# place this file as /etc/logrotate.d/yrmcds

/var/log/yrmcds.log {
	notifempty
	weekly
	rotate 4
	compress
	missingok
	create 0644 yrmcds yrmcds
	postrotate
		service yrmcds reload >/dev/null 2>&1 || true
	endscript
}