Ignore:
Timestamp:
02/21/2020 08:36:57 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b0eb40aa
Parents:
35a6888
Message:

Make the example in logrotate nodump, since it works only with sysv, so it
should not be installed in systemd; It'd be better to have an example
which works for both systems, but I am not sure which one.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22740 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/logrotate.xml

    r35a6888 ra09f080  
    179179  For example:</para>
    180180
    181 <screen role="root"><userinput>cat &gt; /etc/logrotate.d/sys.log &lt;&lt; EOF
     181<screen role="nodump"><userinput>cat &gt; /etc/logrotate.d/sys.log &lt;&lt; EOF
    182182<literal>/var/log/sys.log {
    183183   # If the log file is larger than 100kb, rotate it
Note: See TracChangeset for help on using the changeset viewer.