Commit 8316d7d0 authored by mh's avatar mh
Browse files

add logrotate rule for fpm logs

parent 159c56ae
......@@ -21,5 +21,11 @@ class php::fpm::base(
content => template('php/fpm/fpm-kill-pool.timer.erb'),
enable => true,
active => true,
} -> logrotate::rule{
'fpm-error-logs':
path => '/var/www/vhosts/*/logs/fpm-error.log',
compress => true,
copytruncate => true,
dateext => true,
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment