How to rotate logs with Rainbows!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|# Put this in a logrotate file (like /etc/logrotate.d/yourcompany):|
|create 644 youruser yourgroup|
|/bin/kill -USR1 `cat /var/run/yourcompany/website.pid 2>/dev/null` 2> /dev/null || true|