Ignore:
Timestamp:
10/26/2014 06:08:49 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
da3d42d
Parents:
d5169f16
Message:

Conversion, Additions and Updates to system utilities section, completing general section entirely.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/logrotate.xml

    rd5169f16 r52e5650b  
    177177EOF
    178178
    179 chmod -v 0644 /etc/logrotate.conf</userinput></screen>
    180 
    181     <para>Now create the <filename class='directory'>/etc/logrotate.d</filename>
     179chmod -v 644 /etc/logrotate.conf</userinput></screen>
     180
     181    <para>Now create the <filename class="directory">/etc/logrotate.d</filename>
    182182    directory as the  <systemitem class="username">root</systemitem> user:</para>
    183183
    184 <screen role="root"><userinput> mkdir -p /etc/logrotate.d</userinput></screen>
     184<screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen>
    185185
    186186  <para>At this point additional log rotation commands can be entered, typically
    187   in the <filename class='directory'>/etc/logrotate.d</filename> directory.
     187  in the <filename class="directory">/etc/logrotate.d</filename> directory.
    188188  For example:</para>
    189189
     
    200200EOF
    201201
    202 chmod -v 0644 /etc/logrotate.d/sys.log</userinput></screen>
     202chmod -v 644 /etc/logrotate.d/sys.log</userinput></screen>
    203203
    204204  <para>You can designate multiple files in one entry:</para>
     
    215215EOF
    216216
    217 chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>
     217chmod -v 644 /etc/logrotate.d/example.log</userinput></screen>
    218218
    219219  <para>You can use in the same line the list of files: file1 file2 file3.
    220220  See the logrotate man page or
    221   <ulink url='http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/'/>
     221  <ulink url="http://www.techrepublic.com/article/manage-linux-log-files-with-logrotate/"/>
    222222  for more examples.</para>
    223223
     
    232232  because they are not actually created.</para>
    233233
    234   <para>To set up <xref linkend='fcron'/> to run
     234  <para>To set up <xref linkend="fcron"/> to run
    235235  <command>logrotate ...</command> at 3AM daily, root's crontab should be
    236236  edited to add:</para>
Note: See TracChangeset for help on using the changeset viewer.