File: thttpd.logrotate

package info (click to toggle)
thttpd 2.23beta1-3sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 684 kB
  • ctags: 677
  • sloc: ansic: 7,902; sh: 1,841; makefile: 310
file content (13 lines) | stat: -rw-r--r-- 221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/thttpd.log {
    rotate 14
    daily
    compress
    missingok
    delaycompress
    postrotate
        if [ -f /var/run/thttpd.pid ]; then
 	    /etc/init.d/thttpd restart 2>&1 > /dev/null
	fi
    endscript
}