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
This commit is contained in:
Pierre Labastie 2020-02-21 08:36:57 +00:00
parent 35a688838f
commit a09f0805ff

View File

@ -178,7 +178,7 @@ chmod -v 0644 /etc/logrotate.conf</userinput></screen>
in the <filename class='directory'>/etc/logrotate.d</filename> directory.
For example:</para>
<screen role="root"><userinput>cat &gt; /etc/logrotate.d/sys.log &lt;&lt; EOF
<screen role="nodump"><userinput>cat &gt; /etc/logrotate.d/sys.log &lt;&lt; EOF
<literal>/var/log/sys.log {
# If the log file is larger than 100kb, rotate it
size 100k