Sha256: 9b5bc53a50b37fb5867c4ed87bfd5d14c849d72e1a067eba045208611e54ee23
Contents?: true
Size: 470 Bytes
Versions: 2
Compression:
Stored size: 470 Bytes
Contents
<%= shared_path %>/log/*.log { daily missingok rotate 180 compress dateext delaycompress lastaction pid=<%= fetch(:unicorn_pid) %> test -s $pid && kill -USR1 "$(cat $pid)" endscript prerotate if [ -d /etc/logrotate.d/httpd-prerotate ]; then \ run-parts /etc/logrotate.d/httpd-prerotate; \ fi \ endscript postrotate nginx_pid=<%= fetch(:nginx_pid) %> [ ! -f $nginx_pid ] || kill -USR1 `cat $nginx_pid` endscript }
Version data entries
2 entries across 2 versions & 1 rubygems