Ignore:
Timestamp:
08/25/2014 07:54:44 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
a8e328fd
Parents:
9fd79fd7
Message:

Finish checking general and system utilities, finishing general section entirely.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14074 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/logrotate.xml

    r9fd79fd7 r3bdfdc61  
    3535    </para>
    3636
    37     &lfs75_checked;
     37    &lfs76_checked;
    3838
    3939    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    175175EOF
    176176
    177 chmod -v 0644 /etc/logrotate.conf</userinput></screen>
    178 
    179     <para>Now create the <filename class='directory'>/etc/logrotate.d</filename>
     177chmod -v 644 /etc/logrotate.conf</userinput></screen>
     178
     179    <para>Now create the <filename class="directory">/etc/logrotate.d</filename>
    180180    directory as the  <systemitem class="username">root</systemitem> user:</para>
    181181
    182 <screen role="root"><userinput> mkdir -p /etc/logrotate.d</userinput></screen>
     182<screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen>
    183183
    184184  <para>At this point additional log rotation commands can be entered, typically
    185   in the <filename class='directory'>/etc/logrotate.d</filename> directory.
     185  in the <filename class="directory">/etc/logrotate.d</filename> directory.
    186186  For example:</para>
    187187
     
    198198EOF
    199199
    200 chmod -v 0644 /etc/logrotate.d/sys.log</userinput></screen>
     200chmod -v 644 /etc/logrotate.d/sys.log</userinput></screen>
    201201
    202202  <para>You can designate multiple files in one entry:</para>
     
    213213EOF
    214214
    215 chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>
     215chmod -v 644 /etc/logrotate.d/example.log</userinput></screen>
    216216
    217217  <para>You can use in the same line the list of files: file1 file2 file3.
    218218  See the logrotate man page or
    219   <ulink url='http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/'/>
     219  <ulink url="http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/"/>
    220220  for more examples.</para>
    221221
     
    230230  because they are not actually created.</para>
    231231
    232   <para>To set up <xref linkend='fcron'/> to run
     232  <para>To set up <xref linkend="fcron"/> to run
    233233  <command>logrotate ...</command> at 3AM daily, root's crontab should be
    234234  edited to add:</para>
Note: See TracChangeset for help on using the changeset viewer.