sluggers,

when logrotate "runs each statement" in the config files does it
do this in series waiting for each to be done or does it do
this in parallel?

EG:

/var/log/one {
  create 0600
  weekly
  postrotate
        /etc/rc.d/init.d/initscript restart
  endscript
}

/var/log/two {
  create 0600
  weekly
  postrotate    
        /etc/rc.d/init.d/initscript restart
  endscript
}


One and Two are BOTH outputs of the same program yet containg
different information. I want them to be rotated on the same day.

If I can rotate them together and the restart the program
ONCE it would be nice. 

So could I skip the restart for logfile one and only do this
for the second logfile?


jobst



-- 
Keyboard not found - please clean up desktop!

             __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      
 -(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to