Created
April 5, 2013 09:39
-
-
Save SimonSimCity/5317996 to your computer and use it in GitHub Desktop.
Logrotate for php5-fpm ... first definition is for the log of the master-process, the second one is for every pool.
This file contains hidden or 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
/var/log/php5-fpm.log { | |
daily | |
rotate 21 | |
missingok | |
notifempty | |
sharedscripts | |
postrotate | |
kill -USR1 `cat /opt/php/logs/nginx.pid` | |
endscript | |
} | |
/srv/http/*/log/php.error.log { | |
daily | |
copytruncate | |
rotate 21 | |
missingok | |
notifempty | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment