From: <ow...@us...> - 2011-09-22 15:22:52
|
Revision: 5863 http://ipcop.svn.sourceforge.net/ipcop/?rev=5863&view=rev Author: owes Date: 2011-09-22 15:22:45 +0000 (Thu, 22 Sep 2011) Log Message: ----------- Revert logrotate.conf for FLASH install. maxsize option does not exist. Using size will give trouble viewing the log for past dates, but that cannot be helped. Modified Paths: -------------- ipcop/trunk/config/logrotate/logrotate.conf.FLASH ipcop/trunk/updates/1.9.21/setup Modified: ipcop/trunk/config/logrotate/logrotate.conf.FLASH =================================================================== --- ipcop/trunk/config/logrotate/logrotate.conf.FLASH 2011-09-21 14:32:12 UTC (rev 5862) +++ ipcop/trunk/config/logrotate/logrotate.conf.FLASH 2011-09-22 15:22:45 UTC (rev 5863) @@ -15,7 +15,7 @@ create # Maximum logfile size of 4MB -maxsize 4M +size 4M # uncomment this if you want your log files compressed compress Modified: ipcop/trunk/updates/1.9.21/setup =================================================================== --- ipcop/trunk/updates/1.9.21/setup 2011-09-21 14:32:12 UTC (rev 5862) +++ ipcop/trunk/updates/1.9.21/setup 2011-09-22 15:22:45 UTC (rev 5863) @@ -77,6 +77,9 @@ # Use new apache (restart pauses for 10 seconds, should be enough to complete upgrade) /usr/local/bin/restarthttpd restart & +# Patch logrotate.FLASH to change maxsize back to size +/bin/sed -i -e "s+maxsize+size+" /etc/logrotate.conf.FLASH + ##### # # End of version specific handling. Continue with universal stuff. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |