Changeset b4dbcb0 for general/sysutils/logrotate.xml
- Timestamp:
- 03/02/2020 01:58:18 AM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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:
- 5d98241
- Parents:
- 25ff6d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/logrotate.xml
r25ff6d5 rb4dbcb0 7 7 <!ENTITY logrotate-download-http "https://github.com/logrotate/logrotate/releases/download/&logrotate-version;/logrotate-&logrotate-version;.tar.xz"> 8 8 <!ENTITY logrotate-download-ftp " "> 9 <!ENTITY logrotate-md5sum " afe109afea749c306ff489203fde6beb">10 <!ENTITY logrotate-size "1 56KB">11 <!ENTITY logrotate-buildsize "5. 0MB">9 <!ENTITY logrotate-md5sum "faf729e0e24bfaafaa677bc6deb46ed8"> 10 <!ENTITY logrotate-size "160 KB"> 11 <!ENTITY logrotate-buildsize "5.5 MB"> 12 12 <!ENTITY logrotate-time "0.2 SBU (with tests)"> 13 13 ]> … … 101 101 </para> 102 102 103 <screen><userinput>./configure --prefix=/usr 103 <screen><userinput>./configure --prefix=/usr && 104 104 make</userinput></screen> 105 105 … … 126 126 127 127 <screen role="root"><userinput>cat > /etc/logrotate.conf << EOF 128 <literal># Begin of/etc/logrotate.conf128 <literal># Begin /etc/logrotate.conf 129 129 130 130 # Rotate log files weekly … … 143 143 # Create new empty files after rotating old ones 144 144 # This will create empty log files, with owner 145 # set to root, group set to sys, and permissions 6 44145 # set to root, group set to sys, and permissions 664 146 146 create 0664 root sys 147 147 … … 165 165 include /etc/logrotate.d 166 166 167 # End of/etc/logrotate.conf</literal>167 # End /etc/logrotate.conf</literal> 168 168 EOF 169 169 … … 173 173 directory as the <systemitem class="username">root</systemitem> user:</para> 174 174 175 <screen role="root"><userinput> 175 <screen role="root"><userinput>mkdir -p /etc/logrotate.d</userinput></screen> 176 176 177 177 <para>At this point additional log rotation commands can be entered, typically … … 224 224 225 225 <para> 226 To run the <command>logrotate</command> daily,226 To run the <command>logrotate</command> command daily, 227 227 <phrase revision="sysv">if you've installed 228 228 <xref linkend="fcron"/> and completed the section on periodic jobs,
Note:
See TracChangeset
for help on using the changeset viewer.