Commit 530067ba authored by mh's avatar mh
Browse files

logrotate user-scripts

parent cb62d100
......@@ -49,6 +49,15 @@ class webhosting::user_scripts(
require ::wordpress::base
require ::tmpwatch
logrotate::rule{
'webhosting-scripts':
path => '/var/www/vhosts/*/scripts/*/*.log',
rotate => 7,
compress => true,
copytruncate => true,
dateext => true,
missingok => true,
}
# manage ssh keys
if $facts['selinux'] {
selinux::fcontext{'/var/www/ssh_authorized_keys(/.*)?':
......
Supports Markdown
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