On 27/09/16 17:53, Sven Hartge wrote: > Tony van der Hoff <[email protected]> wrote: > >> However, it wouldn't work in this case. Various other applications >> rely on the names of the compressed files being in a particular >> format, which I can't easily achieve with logrotate. So, I'll stick >> with my original script but add "apachectl graceful" before fiddling >> with the files. > > You should add this _after_ fiddling with the files. Reloading apache > before renaming/rotating the log files will not stop them from being > reopened again. > > You rename/rotate the files _first_ and *then* reload apache to have the > intended effect. > > Grüße, > Sven. >
Oops, Thanks! -- Tony van der Hoff | mailto:[email protected] Buckinghamshire, England |

