Sha256: 9061c28bca8b42f1b8e036458d58c904fbc30e813524657e5b40882766585a67

Contents?: true

Size: 791 Bytes

Versions: 26

Compression:

Stored size: 791 Bytes

Contents

<%= config[:sites_root] %>/<%= config[:host] %>/log/apache2.access.log {
	weekly
	missingok
	rotate 52
	compress
	delaycompress
	notifempty
	create 640 www-data www-data
	sharedscripts
  prerotate
  /usr/lib/cgi-bin/awstats.pl -update -config=<%= config[:host] %>
  endscript
	postrotate
		if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then
			/etc/init.d/apache2 reload > /dev/null
		fi
	endscript
}

<%= config[:sites_root] %>/<%= config[:host] %>/log/apache2.error.log {
	weekly
	missingok
	rotate 52
	compress
	delaycompress
	notifempty
	create 640 www-data www-data
	sharedscripts
	postrotate
		if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then
			/etc/init.d/apache2 reload > /dev/null
		fi
	endscript
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
zena-1.2.4 lib/zena/deploy/logrotate_host.rhtml
zena-1.2.3 lib/zena/deploy/logrotate_host.rhtml
zena-1.2.2 lib/zena/deploy/logrotate_host.rhtml
zena-1.2.1 lib/zena/deploy/logrotate_host.rhtml
zena-1.2.0 lib/zena/deploy/logrotate_host.rhtml
zena-1.1.3 lib/zena/deploy/logrotate_host.rhtml
zena-1.1.2 lib/zena/deploy/logrotate_host.rhtml
zena-1.1.1 lib/zena/deploy/logrotate_host.rhtml
zena-1.1.0 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.rc3 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.rc2 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.rc1 lib/zena/deploy/logrotate_host.rhtml
zena-0.16.9 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.beta3 lib/zena/deploy/logrotate_host.rhtml
zena-0.16.8 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.beta2 lib/zena/deploy/logrotate_host.rhtml
zena-1.0.0.beta1 lib/zena/deploy/logrotate_host.rhtml
zena-0.16.7 lib/zena/deploy/logrotate_host.rhtml
zena-0.16.6 lib/zena/deploy/logrotate_host.rhtml