User Tools

Site Tools


linux:apachelogs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:apachelogs [2020/08/05 00:28] Wufflinux:apachelogs [2020/08/05 10:50] (current) Wuff
Line 34: Line 34:
    
 to apache logrotate in the prerotate section, ensuring the lines all terminate with backslash to apache logrotate in the prerotate section, ensuring the lines all terminate with backslash
-<code>+<code - /etc/logrotate.d/apache2>
     prerotate     prerotate
         if [ -f /root/phperrors.sh ]; then \         if [ -f /root/phperrors.sh ]; then \
-            /root/phperrors.sh \+            /root/phperrors.sh >/dev/null; \
         fi; \         fi; \
         ...other-prerotate-commands...         ...other-prerotate-commands...
     endscript     endscript
 </code> </code>
linux/apachelogs.1596583705.txt.gz · Last modified: (external edit)