-
-
Save randy-ran/4b4c863b687bd323bdaa6cc36991d290 to your computer and use it in GitHub Desktop.
/etc/logrotate.d/php-fpm
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/php-fpm/*.log { | |
| daily | |
| missingok | |
| rotate 52 | |
| compress | |
| delaycompress | |
| notifempty | |
| sharedscripts | |
| postrotate | |
| [ ! -f /var/run/php-fpm/php-fpm.pid ] || kill -USR1 `cat /var/run/php-fpm/php-fpm.pid` | |
| endscript | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment