smeserver-freepbx/root/etc/logrotate.d/freepbx

14 lines
326 B
Plaintext
Raw Normal View History

/var/log/freepbx/*.log {
missingok
notifempty
sharedscripts
delaycompress
su asterisk asterisk
create 660 asterisk asterisk
postrotate
/sbin/e-smith/service php56-php-fpm reload >/dev/null 2>&1 || true
/sbin/e-smith/service php74-php-fpm reload >/dev/null 2>&1 || true
endscript
}