File: thttpd.logrotate

package info (click to toggle)
thttpd 2.25b-11
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 784 kB
  • ctags: 686
  • sloc: ansic: 8,136; sh: 2,449; makefile: 256
file content (18 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/var/log/thttpd.log
{
	rotate 14
	daily
	compress
	missingok
	delaycompress
	postrotate

	if [ -x /usr/sbin/invoke-rc.d ]
	then
		invoke-rc.d thttpd force-reload > /dev/null 2>&1
	else
		/etc/init.d/thttpd force-reload > /dev/null 2>&1
	fi

	endscript
}