i have a control of log with logrotate.
well, but my logrotate can stop and start the magnolia.
this is a problem cause he cannot to kill the process os java.

there are other way to use a logrotate withou stopping and starting?


my logrotate:
[quote]/opt/tomcat-magnolia/apache-tomcat-6.0.29/logs/* {
           rotate 3
           size=50M
           compress
           olddir /opt/tomcat-magnolia/apache-tomcat-6.0.29/logs/old
           sharedscripts
           postrotate
           
           su - tomcat -c 
"/opt/tomcat-magnolia/apache-tomcat-6.0.29/bin/shutdown.sh" &> /dev/null
           su - tomcat -c 
"/opt/tomcat-magnolia/apache-tomcat-6.0.29/bin/startup.sh" &> /dev/null

           endscript
       }[/quote]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=e07a6679-6989-4d00-9bf3-69749aa45251


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

  • [magn... Magnolia Forums (on behalf of Paulo Roberto de Camargo Mello Junior)
    • ... Magnolia Forums (on behalf of Paulo Roberto de Camargo Mello Junior)
      • ... Unger, Richard
    • ... Magnolia Forums (on behalf of Gr?gory Joseph)

Reply via email to