mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
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:
parent
35a688838f
commit
a09f0805ff
@ -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 > /etc/logrotate.d/sys.log << EOF
|
||||
<screen role="nodump"><userinput>cat > /etc/logrotate.d/sys.log << EOF
|
||||
<literal>/var/log/sys.log {
|
||||
# If the log file is larger than 100kb, rotate it
|
||||
size 100k
|
||||
|
Loading…
Reference in New Issue
Block a user