Changeset 51dfb3e for general/sysutils/logrotate.xml
- Timestamp:
- 06/27/2019 08:55:17 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.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:
- ff3264f
- Parents:
- e77adf7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/logrotate.xml
re77adf7 r51dfb3e 126 126 127 127 <screen role="root"><userinput>cat > /etc/logrotate.conf << EOF 128 # Begin of /etc/logrotate.conf128 <literal># Begin of /etc/logrotate.conf 129 129 130 130 # Rotate log files weekly … … 165 165 include /etc/logrotate.d 166 166 167 # End of /etc/logrotate.conf 167 # End of /etc/logrotate.conf</literal> 168 168 EOF 169 169 … … 180 180 181 181 <screen role="root"><userinput>cat > /etc/logrotate.d/sys.log << EOF 182 /var/log/sys.log {182 <literal>/var/log/sys.log { 183 183 # If the log file is larger than 100kb, rotate it 184 184 size 100k … … 188 188 /bin/killall -HUP syslogd 189 189 endscript 190 } 190 }</literal> 191 191 EOF 192 192 … … 196 196 197 197 <screen role="root"><userinput>cat > /etc/logrotate.d/example.log << EOF 198 file1198 <literal>file1 199 199 file2 200 200 file3 { … … 203 203 ... 204 204 endscript 205 } 205 }</literal> 206 206 EOF 207 207
Note:
See TracChangeset
for help on using the changeset viewer.