X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fvsftpd%2Ftemplates%2Flogrotate.erb;fp=modules%2Fvsftpd%2Ftemplates%2Flogrotate.erb;h=82222378a20767f0cdbbbcc647b3d46ed72d2765;hb=ca0302fc180922a0843bd5f25fae104f14dff374;hp=0000000000000000000000000000000000000000;hpb=9864e5713cbcc0d970940db2b90931c6ca0dc96c;p=dsa-puppet.git diff --git a/modules/vsftpd/templates/logrotate.erb b/modules/vsftpd/templates/logrotate.erb new file mode 100644 index 00000000..82222378 --- /dev/null +++ b/modules/vsftpd/templates/logrotate.erb @@ -0,0 +1,10 @@ +<%= scope.lookupvar('logfile') %> +{ + create 640 root adm + + # ftpd doesn't handle SIGHUP properly + missingok + notifempty + rotate 4 + weekly +}