Debian Codegraph @

templates/man8/logrotate.8.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "LOGROTATE"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "3.22.0"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "Linux"
38 msgstr ""
39
40 #. type: TH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "System Administrator's Manual"
45 msgstr ""
46
47 #. Per groff_man(7), the TQ macro should be copied from an-ext.tmac when
48 #. not running under groff. That's not quite right; not all groff
49 #. installations include this macro. So bring it in with another name
50 #. unconditionally.
51 #. Continuation line for .TP header.
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "NAME"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "logrotate \\(hy rotates, compresses, and mails system logs"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid ""
76 "B<logrotate> [B<--force>] [B<--debug>] [B<--state> I<file>] [B<--skip-state-"
77 "lock>] [B<--wait-for-state-lock>] [B<--verbose>] [B<--log> I<file>] [B<--"
78 "mail> I<command>] I<config_file> [I<config_file2 ...>]"
79 msgstr ""
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "DESCRIPTION"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "B<logrotate> is designed to ease administration of systems that generate "
93 "large numbers of log files. It allows automatic rotation, compression, "
94 "removal, and mailing of log files. Each log file may be handled daily, "
95 "weekly, monthly, or when it grows too large."
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "Normally, B<logrotate> is run as a daily cron job. It will not modify a log "
103 "more than once in one day unless the criterion for that log is based on the "
104 "log's size and B<logrotate> is being run more than once each day, or unless "
105 "the B<-f> or B<--force> option is used."
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "Any number of config files may be given on the command line. Later config "
113 "files may override the options given in earlier files, so the order in which "
114 "the B<logrotate> config files are listed is important. Normally, a single "
115 "config file which includes any other config files which are needed should be "
116 "used. See below for more information on how to use the B<include> directive "
117 "to accomplish this. If a directory is given on the command line, every file "
118 "in that directory is used as a config file."
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "If no command line arguments are given, B<logrotate> will print version and "
126 "copyright information, along with a short usage summary. If any errors "
127 "occur while rotating logs, B<logrotate> will exit with non-zero status, "
128 "although the state file will be updated."
129 msgstr ""
130
131 #. type: SH
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid "OPTIONS"
136 msgstr ""
137
138 #. type: TP
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "B<-f>, B<--force>"
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "Tells B<logrotate> to force the rotation, even if it doesn't think this is "
150 "necessary. Sometimes this is useful after adding new entries to a "
151 "B<logrotate> config file, or if old log files have been removed by hand, as "
152 "the new files will be created, and logging will continue correctly."
153 msgstr ""
154
155 #. type: TP
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid "B<-d>, B<--debug>"
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "Turn on debug mode, which means that no changes are made to the logs and the "
167 "B<logrotate> state file is not updated. Only debug messages are printed."
168 msgstr ""
169
170 #. type: TP
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "B<-s>, B<--state> I<statefile>"
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux mageia-cauldron
179 msgid ""
180 "Tells B<logrotate> to use an alternate state file. This is useful if "
181 "B<logrotate> is being run as a different user for various sets of log "
182 "files. To prevent parallel execution B<logrotate> by default acquires a "
183 "lock on the state file, if it cannot be acquired B<logrotate> will exit with "
184 "value 3. The default state file is I</var/lib/logrotate.status>. If I</dev/"
185 "null> is given as the state file, then B<logrotate> will not try to lock or "
186 "write the state file."
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<--skip-state-lock>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "Do not lock the state file, for example if locking is unsupported or "
201 "prohibited."
202 msgstr ""
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "B<--wait-for-state-lock>"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "Wait until lock on the state file is released by another logrotate process. "
216 "This option may cause logrotate to wait indefinitely. Use with caution."
217 msgstr ""
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<-v>, B<--verbose>"
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "Turns on verbose mode, for example to display messages during rotation."
230 msgstr ""
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<-l>, B<--log> I<file>"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "Tells B<logrotate> to log verbose output into the log_file. The verbose "
244 "output logged to that file is the same as when running B<logrotate> with B<-"
245 "v> switch. The log file is overwritten on every B<logrotate> execution."
246 msgstr ""
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<-m>, B<--mail> I<command>"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "Tells B<logrotate> which command to use when mailing logs. This command "
260 "should accept the following arguments:"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "1) the subject of the message given with '-s subject'"
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "2) the recipient."
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable
277 msgid ""
278 "The command must then read a message on standard input and mail it to the "
279 "recipient. The default mail command is I</usr/bin/mail>."
280 msgstr ""
281
282 #. type: TP
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "B<--usage>"
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid "Prints a short usage message."
293 msgstr ""
294
295 #. type: TP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "B<-?>, B<--help>"
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid "Prints help message."
306 msgstr ""
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<--version>"
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid "Display version information."
319 msgstr ""
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "CONFIGURATION FILE"
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "B<logrotate> reads everything about the log files it should be handling from "
333 "the series of configuration files specified on the command line. Each "
334 "configuration file can set global options (local definitions override global "
335 "ones, and later definitions override earlier ones) and specify logfiles to "
336 "rotate. Global options do not affect preceding include directives. A "
337 "simple configuration file looks like this:"
338 msgstr ""
339
340 #. type: ta
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "+8n"
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid ""
352 "# sample logrotate configuration file\n"
353 "compress\n"
354 msgstr ""
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid ""
361 "/var/log/messages {\n"
362 " rotate 5\n"
363 " weekly\n"
364 " postrotate\n"
365 " /usr/bin/killall -HUP syslogd\n"
366 " endscript\n"
367 "}\n"
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid ""
375 "\"/var/log/httpd/access.log\" /var/log/httpd/error.log {\n"
376 " rotate 5\n"
377 " mail [email protected]\n"
378 " size 100k\n"
379 " sharedscripts\n"
380 " postrotate\n"
381 " /usr/bin/killall -HUP httpd\n"
382 " endscript\n"
383 "}\n"
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid ""
391 "/var/log/news/* {\n"
392 " monthly\n"
393 " rotate 2\n"
394 " olddir /var/log/news/old\n"
395 " missingok\n"
396 " sharedscripts\n"
397 " postrotate\n"
398 " kill -HUP $(cat /var/run/inn.pid)\n"
399 " endscript\n"
400 " nocompress\n"
401 "}\n"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "~/log/*.log {}\n"
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "The first few lines set global options; in the example, logs are compressed "
416 "after they are rotated. Note that comments may appear anywhere in the "
417 "config file as long as the first non-whitespace character on the line is a "
418 "B<#>."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "Values are separated from directives by whitespace and/or an optional =. "
426 "Numbers must be specified in a format understood by B<strtoul>(3)."
427 msgstr ""
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "The next section of the config file defines how to handle the log file I</"
434 "var/log/messages>. The log will go through five weekly rotations before "
435 "being removed. After the log file has been rotated (but before the old "
436 "version of the log has been compressed), the command I</usr/bin/killall -HUP "
437 "syslogd> will be executed."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "The next section defines the parameters for both I</var/log/httpd/"
445 "access.log> and I</var/log/httpd/error.log>. Each is rotated whenever it "
446 "grows over 100\\ kilobytes in size, and the old logs files are mailed "
447 "(uncompressed) to recipient@\\:example.org after going through 5 rotations, "
448 "rather than being removed. The B<sharedscripts> means that the "
449 "B<postrotate> script will only be run once for this section, not once for "
450 "each log which is rotated. Note that log file names may be enclosed in "
451 "quotes (and that quotes are required if the name contains spaces). Normal "
452 "shell quoting rules apply, with B<'>, B<\">, and B<\\e> characters supported."
453 msgstr ""
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "The next section defines the parameters for all of the files in I</var/log/"
460 "news>. Each file is rotated on a monthly basis."
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "The last section uses tilde expansion to rotate log files in the home "
468 "directory of the current user. This is only available, if your glob library "
469 "supports tilde expansion. GNU glob does support this."
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "Please use wildcards with caution. If you specify *, B<logrotate> will "
477 "rotate all files, including previously rotated ones. A way around this is "
478 "to use the B<olddir> directive or a more exact wildcard (such as *.log)."
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "Please note, by default when using B<systemd>(1), the option "
486 "I<ProtectSystem=full> is set in the I<logrotate.service> file. This "
487 "prevents B<logrotate> from modifying logs in I</etc> and I</usr>."
488 msgstr ""
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "Here is more information on the directives which may be included in a "
495 "B<logrotate> configuration file:"
496 msgstr ""
497
498 #. type: SH
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "CONFIGURATION FILE DIRECTIVES"
503 msgstr ""
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid "These directives may be included in a B<logrotate> configuration file:"
509 msgstr ""
510
511 #. type: SS
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "Rotation"
516 msgstr ""
517
518 #. type: TP
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "B<rotate >I<count>"
523 msgstr ""
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "Log files are rotated I<count> times before being removed or mailed to the "
530 "address specified in a B<mail> directive. If I<count> is 0, old versions "
531 "are removed rather than rotated. If I<count> is -1, old logs are not "
532 "removed at all, except they are affected by B<maxage> (use with caution, may "
533 "waste performance and disk space). Default is 0."
534 msgstr ""
535
536 #. type: TP
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid "B<olddir >I<directory>"
541 msgstr ""
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid ""
547 "Logs are moved into I<directory> for rotation. The I<directory> must be on "
548 "the same physical device as the log file being rotated, unless B<copy>, "
549 "B<copytruncate> or B<renamecopy> option is used. The I<directory> is "
550 "assumed to be relative to the directory holding the log file unless an "
551 "absolute path name is specified. When this option is used all old versions "
552 "of the log end up in I<directory>. This option may be overridden by the "
553 "B<noolddir> option."
554 msgstr ""
555
556 #. type: TP
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "B<noolddir>"
561 msgstr ""
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "Logs are rotated in the directory they normally reside in (this overrides "
568 "the B<olddir> option)."
569 msgstr ""
570
571 #. type: TP
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "B<su >I<user> I<group>"
576 msgstr ""
577
578 #. type: Plain text
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 msgid ""
582 "Rotate log files set under this user and group instead of using default user/"
583 "group (usually root). I<user> specifies the user used for rotation and "
584 "I<group> specifies the group used for rotation (see the section B<USER AND "
585 "GROUP> for details). If the user/group you specify here does not have "
586 "sufficient privilege to make files with the ownership you've specified in a "
587 "B<create> directive, it will cause an error. If B<logrotate> runs with root "
588 "privileges, it is recommended to use the B<su> directive to rotate files in "
589 "directories that are directly or indirectly in control of non-privileged "
590 "users."
591 msgstr ""
592
593 #. type: SS
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 #, no-wrap
597 msgid "Frequency"
598 msgstr ""
599
600 #. type: TP
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, no-wrap
604 msgid "B<hourly>"
605 msgstr ""
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid ""
611 "Log files are rotated every hour. Note that usually B<logrotate> is "
612 "configured to be run by cron daily (or by I<logrotate.timer> when using "
613 "B<systemd>(1)). You have to change this configuration and run B<logrotate> "
614 "hourly to be able to really rotate logs hourly."
615 msgstr ""
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<daily>"
622 msgstr ""
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid "Log files are rotated every day."
628 msgstr ""
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<weekly> [I<weekday>]"
635 msgstr ""
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "Log files are rotated once each I<weekday>, or if the date is advanced by at "
642 "least 7 days since the last rotation (while ignoring the exact time). The "
643 "I<weekday> interpretation is following: 0 means Sunday, 1 means Monday, \\&."
644 "\\|.\\|.\\|\\&, 6 means Saturday; the special value 7 means each 7 days, "
645 "irrespectively of weekday. Defaults to 0 if the I<weekday> argument is "
646 "omitted."
647 msgstr ""
648
649 #. type: TP
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "B<monthly>"
654 msgstr ""
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 msgid ""
660 "Log files are rotated the first time B<logrotate> is run in a month (this is "
661 "normally on the first day of the month)."
662 msgstr ""
663
664 #. type: TP
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "B<yearly>"
669 msgstr ""
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "Log files are rotated if the current year is not the same as the last "
676 "rotation."
677 msgstr ""
678
679 #. type: TP
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "B<size >I<size>"
684 msgstr ""
685
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "Log files are rotated only if they grow bigger than I<size> bytes. If "
691 "I<size> is followed by I<k>, the size is assumed to be in kilobytes. If "
692 "I<M> is used, the size is in megabytes, and if I<G> is used, the size is in "
693 "gigabytes. So I<size 100>, I<size 100k>, I<size 100M> and I<size 100G> are "
694 "all valid. This option is mutually exclusive with the time interval "
695 "options, and it causes log files to be rotated without regard for the last "
696 "rotation time, if specified after the time criteria (the last specified "
697 "option takes the precedence)."
698 msgstr ""
699
700 #. type: SS
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "File selection"
705 msgstr ""
706
707 #. type: TP
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "B<missingok>"
712 msgstr ""
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid ""
718 "If the log file is missing, go on to the next one without issuing an error "
719 "message. See also B<nomissingok>."
720 msgstr ""
721
722 #. type: TP
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 #, no-wrap
726 msgid "B<nomissingok>"
727 msgstr ""
728
729 #. type: Plain text
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 msgid "If a log file does not exist, issue an error. This is the default."
733 msgstr ""
734
735 #. type: TP
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 #, no-wrap
739 msgid "B<ignoreduplicates>"
740 msgstr ""
741
742 #. type: Plain text
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 msgid "Ignore any following matches of a log file."
746 msgstr ""
747
748 #. type: TP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "B<ifempty>"
753 msgstr ""
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid ""
759 "Rotate the log file even if it is empty, overriding the B<notifempty> option "
760 "(B<ifempty> is the default)."
761 msgstr ""
762
763 #. type: TP
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "B<notifempty>"
768 msgstr ""
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "Do not rotate the log if it is empty (this overrides the B<ifempty> option)."
775 msgstr ""
776
777 #. type: TP
778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "B<minage> I<count>"
782 msgstr ""
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid "Do not rotate logs which are less than E<lt>countE<gt> days old."
788 msgstr ""
789
790 #. type: TP
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 #, no-wrap
794 msgid "B<maxage> I<count>"
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "Remove rotated logs older than E<lt>countE<gt> days. The age is only "
802 "checked if the logfile is to be rotated. B<rotate -1> does not hinder "
803 "removal. The files are mailed to the configured address if B<maillast> and "
804 "B<mail> are configured."
805 msgstr ""
806
807 #. type: TP
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 #, no-wrap
811 msgid "B<minsize> I<size>"
812 msgstr ""
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid ""
818 "Log files are rotated when they grow bigger than I<size> bytes, but not "
819 "before the additionally specified time interval (B<daily>, B<weekly>, "
820 "B<monthly>, or B<yearly>). The related B<size> option is similar except "
821 "that it is mutually exclusive with the time interval options, and it causes "
822 "log files to be rotated without regard for the last rotation time, if "
823 "specified after the time criteria (the last specified option takes the "
824 "precedence). When B<minsize> is used, both the size and timestamp of a log "
825 "file are considered."
826 msgstr ""
827
828 #. type: TP
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 #, no-wrap
832 msgid "B<maxsize> I<size>"
833 msgstr ""
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 msgid ""
839 "Log files are rotated when they grow bigger than I<size> bytes even before "
840 "the additionally specified time interval (B<daily>, B<weekly>, B<monthly>, "
841 "or B<yearly>). The related B<size> option is similar except that it is "
842 "mutually exclusive with the time interval options, and it causes log files "
843 "to be rotated without regard for the last rotation time, if specified after "
844 "the time criteria (the last specified option takes the precedence). When "
845 "B<maxsize> is used, both the size and timestamp of a log file are considered."
846 msgstr ""
847
848 #. type: TP
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid "B<tabooext> [+] I<list>"
853 msgstr ""
854
855 #. type: Plain text
856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
858 msgid ""
859 "The current taboo extension list is changed (see the B<include> directive "
860 "for information on the taboo extensions). If a + precedes the list of "
861 "extensions, the current taboo extension list is augmented, otherwise it is "
862 "replaced. At startup, the taboo extension list I<,v>, I<.bak>, I<.cfsaved>, "
863 "I<.disabled>, I<.dpkg-bak>, I<.dpkg-del>, I<.dpkg-dist>, I<.dpkg-new>, "
864 "I<.dpkg-old>, I<.dpkg-tmp>, I<.new>, I<.old>, I<.orig>, I<.rhn-cfg-tmp-*>, "
865 "I<.rpmnew>, I<.rpmorig>, I<.rpmsave>, I<.swp>, I<.ucf-dist>, I<.ucf-new>, "
866 "I<.ucf-old>, I<~>"
867 msgstr ""
868
869 #. type: TP
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid "B<taboopat> [+] I<list>"
874 msgstr ""
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid ""
880 "The current taboo glob pattern list is changed (see the B<include> directive "
881 "for information on the taboo extensions and patterns). If a + precedes the "
882 "list of patterns, the current taboo pattern list is augmented, otherwise it "
883 "is replaced. At startup, the taboo pattern list is empty."
884 msgstr ""
885
886 #. type: SS
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "Files and Folders"
891 msgstr ""
892
893 #. type: TP
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 #, no-wrap
897 msgid "B<create >I<mode> I<owner> I<group>, B<create >I<owner> I<group>"
898 msgstr ""
899
900 #. type: Plain text
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 msgid ""
904 "Immediately after rotation (before the B<postrotate> script is run) the log "
905 "file is created (with the same name as the log file just rotated). I<mode> "
906 "specifies the mode for the log file in octal (the same as B<chmod>(2)), "
907 "I<owner> specifies the user who will own the log file, and I<group> "
908 "specifies the group the log file will belong to (see the section B<USER AND "
909 "GROUP> for details). Any of the log file attributes may be omitted, in "
910 "which case those attributes for the new file will use the same values as the "
911 "original log file for the omitted attributes. This option can be disabled "
912 "using the B<nocreate> option."
913 msgstr ""
914
915 #. type: TP
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 #, no-wrap
919 msgid "B<nocreate>"
920 msgstr ""
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid "New log files are not created (this overrides the B<create> option)."
926 msgstr ""
927
928 #. type: TP
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 #, no-wrap
932 msgid "B<createolddir >I<mode> [I<owner> [I<group>]], B<createolddir >[I<owner> [I<group>]]"
933 msgstr ""
934
935 #. type: Plain text
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 msgid ""
939 "If the directory specified by B<olddir> directive does not exist, it is "
940 "created. I<mode> specifies the mode for the B<olddir> directory in octal "
941 "(the same as B<chmod>(2)), I<owner> specifies the user who will own the "
942 "B<olddir> directory, and I<group> specifies the group the B<olddir> "
943 "directory will belong to (see the section B<USER AND GROUP> for details). "
944 "If I<mode> is not specified, B<0755> is assumed. This option can be "
945 "disabled using the B<nocreateolddir> option."
946 msgstr ""
947
948 #. type: TP
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 #, no-wrap
952 msgid "B<nocreateolddir>"
953 msgstr ""
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 msgid ""
959 "B<olddir> directory is not created by B<logrotate> when it does not exist."
960 msgstr ""
961
962 #. type: TP
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "B<copy>"
967 msgstr ""
968
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 msgid ""
973 "Make a copy of the log file, but don't change the original at all. This "
974 "option can be used, for instance, to make a snapshot of the current log "
975 "file, or when some other utility needs to truncate or parse the file. When "
976 "this option is used, the B<create> option will have no effect, as the old "
977 "log file stays in place. The B<copy> option allows storing rotated log "
978 "files on the different devices using B<olddir> directive."
979 msgstr ""
980
981 #. type: TP
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 #, no-wrap
985 msgid "B<nocopy>"
986 msgstr ""
987
988 #. type: Plain text
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 msgid ""
992 "Do not copy the original log file and leave it in place. (this overrides "
993 "the B<copy> option)."
994 msgstr ""
995
996 #. type: TP
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "B<copytruncate>"
1001 msgstr ""
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid ""
1007 "Truncate the original log file to zero size in place after creating a copy, "
1008 "instead of moving the old log file and optionally creating a new one. It "
1009 "can be used when some program cannot be told to close its logfile and thus "
1010 "might continue writing (appending) to the previous log file forever. Note "
1011 "that there is a very small time slice between copying the file and "
1012 "truncating it, so some logging data might be lost. When this option is "
1013 "used, the B<create> option will have no effect, as the old log file stays in "
1014 "place. The B<copytruncate> option allows storing rotated log files on the "
1015 "different devices using B<olddir> directive. The B<copytruncate> option "
1016 "implies B<norenamecopy>."
1017 msgstr ""
1018
1019 #. type: TP
1020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1022 #, no-wrap
1023 msgid "B<nocopytruncate>"
1024 msgstr ""
1025
1026 #. type: Plain text
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 msgid ""
1030 "Do not truncate the original log file in place after creating a copy (this "
1031 "overrides the B<copytruncate> option)."
1032 msgstr ""
1033
1034 #. type: TP
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 #, no-wrap
1038 msgid "B<renamecopy>"
1039 msgstr ""
1040
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid ""
1045 "Log file is renamed to temporary filename in the same directory by adding "
1046 "\".tmp\" extension to it. After that, B<postrotate> script is run and log "
1047 "file is copied from temporary filename to final filename. In the end, "
1048 "temporary filename is removed. The B<renamecopy> option allows storing "
1049 "rotated log files on the different devices using B<olddir> directive. The "
1050 "B<renamecopy> option implies B<nocopytruncate>."
1051 msgstr ""
1052
1053 #. type: TP
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 #, no-wrap
1057 msgid "B<norenamecopy>"
1058 msgstr ""
1059
1060 #. type: Plain text
1061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1063 msgid ""
1064 "Do not rename and copy the original log file (this overrides the "
1065 "B<renamecopy> option)."
1066 msgstr ""
1067
1068 #. type: TP
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 #, no-wrap
1072 msgid "B<shred>"
1073 msgstr ""
1074
1075 #. type: Plain text
1076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1078 msgid ""
1079 "Delete log files using B<shred> -u instead of unlink(). This should ensure "
1080 "that logs are not readable after their scheduled deletion; this is off by "
1081 "default. See also B<noshred>."
1082 msgstr ""
1083
1084 #. type: TP
1085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1087 #, no-wrap
1088 msgid "B<noshred>"
1089 msgstr ""
1090
1091 #. type: Plain text
1092 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1093 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1094 msgid "Do not use B<shred> when deleting old log files. See also B<shred>."
1095 msgstr ""
1096
1097 #. type: TP
1098 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1099 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1100 #, no-wrap
1101 msgid "B<shredcycles> I<count>"
1102 msgstr ""
1103
1104 #. type: Plain text
1105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1107 msgid ""
1108 "Asks GNU B<shred>(1) to overwrite log files B<count> times before deletion. "
1109 "Without this option, B<shred>'s default will be used."
1110 msgstr ""
1111
1112 #. type: TP
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, no-wrap
1116 msgid "B<allowhardlink>"
1117 msgstr ""
1118
1119 #. type: Plain text
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 msgid ""
1123 "Rotate files with multiple hard links; this is off by default. The target "
1124 "file might get emptied, e.g. with B<shred> or B<copytruncate>. Use with "
1125 "caution, especially when the log files are rotated as root."
1126 msgstr ""
1127
1128 #. type: TP
1129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1131 #, no-wrap
1132 msgid "B<noallowhardlink>"
1133 msgstr ""
1134
1135 #. type: Plain text
1136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1138 msgid ""
1139 "Do not rotate files with multiple hard links. See also B<allowhardlink>."
1140 msgstr ""
1141
1142 #. type: SS
1143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1145 #, no-wrap
1146 msgid "Compression"
1147 msgstr ""
1148
1149 #. type: TP
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 #, no-wrap
1153 msgid "B<compress>"
1154 msgstr ""
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid ""
1160 "Old versions of log files are compressed with B<gzip>(1) by default. See "
1161 "also B<nocompress>."
1162 msgstr ""
1163
1164 #. type: TP
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 #, no-wrap
1168 msgid "B<nocompress>"
1169 msgstr ""
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid "Old versions of log files are not compressed. See also B<compress>."
1175 msgstr ""
1176
1177 #. type: TP
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 #, no-wrap
1181 msgid "B<compresscmd>"
1182 msgstr ""
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "Specifies which command to use to compress log files. The default is "
1189 "B<gzip>(1). See also B<compress>."
1190 msgstr ""
1191
1192 #. type: TP
1193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1195 #, no-wrap
1196 msgid "B<uncompresscmd>"
1197 msgstr ""
1198
1199 #. type: Plain text
1200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1202 msgid ""
1203 "Specifies which command to use to uncompress log files. The default is "
1204 "B<gunzip>(1)."
1205 msgstr ""
1206
1207 #. type: TP
1208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1210 #, no-wrap
1211 msgid "B<compressext>"
1212 msgstr ""
1213
1214 #. type: Plain text
1215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1217 msgid ""
1218 "Specifies which extension to use on compressed logfiles, if compression is "
1219 "enabled. The default follows that of the configured compression command."
1220 msgstr ""
1221
1222 #. type: TP
1223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1225 #, no-wrap
1226 msgid "B<compressoptions>"
1227 msgstr ""
1228
1229 #. type: Plain text
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 msgid ""
1233 "Command line options may be passed to the compression program, if one is in "
1234 "use. The default, for B<gzip>(1), is \"-6\" (biased towards high "
1235 "compression at the expense of speed). If you use a different compression "
1236 "command, you may need to change the B<compressoptions> to match."
1237 msgstr ""
1238
1239 #. type: TP
1240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1242 #, no-wrap
1243 msgid "B<delaycompress>"
1244 msgstr ""
1245
1246 #. type: Plain text
1247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1249 msgid ""
1250 "Postpone compression of the previous log file to the next rotation cycle. "
1251 "This only has effect when used in combination with B<compress>. It can be "
1252 "used when some program cannot be told to close its logfile and thus might "
1253 "continue writing to the previous log file for some time."
1254 msgstr ""
1255
1256 #. type: TP
1257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1259 #, no-wrap
1260 msgid "B<nodelaycompress>"
1261 msgstr ""
1262
1263 #. type: Plain text
1264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1266 msgid ""
1267 "Do not postpone compression of the previous log file to the next rotation "
1268 "cycle (this overrides the B<delaycompress> option)."
1269 msgstr ""
1270
1271 #. type: SS
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 #, no-wrap
1275 msgid "Filenames"
1276 msgstr ""
1277
1278 #. type: TP
1279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1281 #, no-wrap
1282 msgid "B<extension >I<ext>"
1283 msgstr ""
1284
1285 #. type: Plain text
1286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1288 msgid ""
1289 "Log files with I<ext> extension can keep it after the rotation. If "
1290 "compression is used, the compression extension (normally I<.gz>) appears "
1291 "after I<ext>. For example you have a logfile named mylog.foo and want to "
1292 "rotate it to mylog.1.foo.gz instead of mylog.foo.1.gz."
1293 msgstr ""
1294
1295 #. type: TP
1296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1298 #, no-wrap
1299 msgid "B<addextension >I<ext>"
1300 msgstr ""
1301
1302 #. type: Plain text
1303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1305 msgid ""
1306 "Log files are given the final extension I<ext> after rotation. If the "
1307 "original file already ends with I<ext>, the extension is not duplicated, but "
1308 "merely moved to the end, that is both B<filename> and B<filename>I<ext> "
1309 "would get rotated to filename.1I<ext>. If compression is used, the "
1310 "compression extension (normally B<.gz>) appears after I<ext>."
1311 msgstr ""
1312
1313 #. type: TP
1314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1316 #, no-wrap
1317 msgid "B<start >I<count>"
1318 msgstr ""
1319
1320 #. type: Plain text
1321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1323 msgid ""
1324 "This is the number to use as the base for rotation. For example, if you "
1325 "specify 0, the logs will be created with a .0 extension as they are rotated "
1326 "from the original log files. If you specify 9, log files will be created "
1327 "with a .9, skipping 0\\(en8. Files will still be rotated the number of "
1328 "times specified with the B<rotate> directive."
1329 msgstr ""
1330
1331 #. type: TP
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 #, no-wrap
1335 msgid "B<dateext>"
1336 msgstr ""
1337
1338 #. type: Plain text
1339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1341 msgid ""
1342 "Archive old versions of log files adding a date extension like YYYYMMDD "
1343 "instead of simply adding a number. The extension may be configured using "
1344 "the B<dateformat> and B<dateyesterday> options."
1345 msgstr ""
1346
1347 #. type: TP
1348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1350 #, no-wrap
1351 msgid "B<nodateext>"
1352 msgstr ""
1353
1354 #. type: Plain text
1355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1357 msgid ""
1358 "Do not archive old versions of log files with date extension (this overrides "
1359 "the B<dateext> option)."
1360 msgstr ""
1361
1362 #. type: TP
1363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1365 #, no-wrap
1366 msgid "B<dateformat> I<format_string>"
1367 msgstr ""
1368
1369 #. type: Plain text
1370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1372 msgid ""
1373 "Specify the extension for B<dateext> using the notation similar to "
1374 "B<strftime>(3) function. Only %Y %m %d %H %M %S %V %s and %z specifiers are "
1375 "allowed. The default value is -%Y%m%d except hourly, which uses -%Y%m%d%H "
1376 "as default value. Note that also the character separating log name from the "
1377 "extension is part of the dateformat string. The system clock must be set "
1378 "past Sep 9th 2001 for %s to work correctly. Note that the datestamps "
1379 "generated by this format must be lexically sortable (that is first the year, "
1380 "then the month then the day. For example 2001/12/01 is ok, but 01/12/2001 "
1381 "is not, since 01/11/2002 would sort lower while it is later). This is "
1382 "because when using the B<rotate> option, B<logrotate> sorts all rotated "
1383 "filenames to find out which logfiles are older and should be removed."
1384 msgstr ""
1385
1386 #. type: TP
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 #, no-wrap
1390 msgid "B<dateyesterday>"
1391 msgstr ""
1392
1393 #. type: Plain text
1394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1396 msgid ""
1397 "Use yesterday's instead of today's date to create the B<dateext> extension, "
1398 "so that the rotated log file has a date in its name that is the same as the "
1399 "timestamps within it."
1400 msgstr ""
1401
1402 #. type: TP
1403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1405 #, no-wrap
1406 msgid "B<datehourago>"
1407 msgstr ""
1408
1409 #. type: Plain text
1410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1412 msgid ""
1413 "Use hour ago instead of current date to create the B<dateext> extension, so "
1414 "that the rotated log file has a hour in its name that is the same as the "
1415 "timestamps within it. Useful with rotate B<hourly>."
1416 msgstr ""
1417
1418 #. type: SS
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 #, no-wrap
1422 msgid "Mail"
1423 msgstr ""
1424
1425 #. type: TP
1426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1428 #, no-wrap
1429 msgid "B<mail >I<address>"
1430 msgstr ""
1431
1432 #. type: Plain text
1433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1435 msgid ""
1436 "When a log is rotated out of existence, it is mailed to I<address>. If no "
1437 "mail should be generated by a particular log, the B<nomail> directive may be "
1438 "used."
1439 msgstr ""
1440
1441 #. type: TP
1442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1444 #, no-wrap
1445 msgid "B<nomail>"
1446 msgstr ""
1447
1448 #. type: Plain text
1449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1451 msgid "Do not mail old log files to any address."
1452 msgstr ""
1453
1454 #. type: TP
1455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1457 #, no-wrap
1458 msgid "B<mailfirst>"
1459 msgstr ""
1460
1461 #. type: Plain text
1462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1464 msgid ""
1465 "When using the B<mail> command, mail the just-rotated file, instead of the "
1466 "about-to-expire file."
1467 msgstr ""
1468
1469 #. type: TP
1470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1472 #, no-wrap
1473 msgid "B<maillast>"
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1479 msgid ""
1480 "When using the B<mail> command, mail the about-to-expire file, instead of "
1481 "the just-rotated file (this is the default)."
1482 msgstr ""
1483
1484 #. type: SS
1485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1487 #, no-wrap
1488 msgid "Additional config files"
1489 msgstr ""
1490
1491 #. type: TP
1492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1494 #, no-wrap
1495 msgid "B<include >I<file_or_directory>"
1496 msgstr ""
1497
1498 #. type: Plain text
1499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1501 msgid ""
1502 "Reads the file given as an argument as if it was included inline where the "
1503 "B<include> directive appears. If a directory is given, most of the files in "
1504 "that directory are read in alphabetic order before processing of the "
1505 "including file continues. The only files which are ignored are files which "
1506 "are not regular files (such as directories and named pipes) and files whose "
1507 "names end with one of the taboo extensions or patterns, as specified by the "
1508 "B<tabooext> or B<taboopat> directives, respectively. The given path may "
1509 "start with B<~/> to make it relative to the home directory of the executing "
1510 "user. For security reasons configuration files must not be group-writable "
1511 "nor world-writable."
1512 msgstr ""
1513
1514 #. type: SS
1515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1517 #, no-wrap
1518 msgid "Scripts"
1519 msgstr ""
1520
1521 #. type: TP
1522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1524 #, no-wrap
1525 msgid "B<sharedscripts>"
1526 msgstr ""
1527
1528 #. type: Plain text
1529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1531 msgid ""
1532 "Normally, B<prerotate> and B<postrotate> scripts are run for each log which "
1533 "is rotated and the absolute path to the log file is passed as first argument "
1534 "to the script. That means a single script may be run multiple times for log "
1535 "file entries which match multiple files (such as the I</var/log/news/*> "
1536 "example). If B<sharedscripts> is specified, the scripts are only run once, "
1537 "no matter how many logs match the wildcarded pattern, and whole pattern is "
1538 "passed to them. However, if none of the logs in the pattern require "
1539 "rotating, the scripts will not be run at all. If the scripts exit with "
1540 "error (or any log fails to rotate), the remaining actions will not be "
1541 "executed for any logs. This option overrides the B<nosharedscripts> option."
1542 msgstr ""
1543
1544 #. type: TP
1545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1547 #, no-wrap
1548 msgid "B<nosharedscripts>"
1549 msgstr ""
1550
1551 #. type: Plain text
1552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1554 msgid ""
1555 "Run B<prerotate> and B<postrotate> scripts for every log file which is "
1556 "rotated (this is the default, and overrides the B<sharedscripts> option). "
1557 "The absolute path to the log file is passed as first argument to the "
1558 "script. The absolute path to the final rotated log file is passed as the "
1559 "second argument to the B<postrotate> script. If the scripts exit with "
1560 "error, the remaining actions will not be executed for the affected log only."
1561 msgstr ""
1562
1563 #. type: Plain text
1564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1566 msgid "B<firstaction>"
1567 msgstr ""
1568
1569 #. type: Plain text
1570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1572 msgid "\\ \\ \\ \\ I<script>"
1573 msgstr ""
1574
1575 #. type: Plain text
1576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1578 msgid ""
1579 "B<endscript> The I<script> is executed once before all log files that match "
1580 "the wildcarded pattern are rotated, before the prerotate script is run and "
1581 "only if at least one log will actually be rotated. These directives may "
1582 "only appear inside a log file definition. The whole pattern is passed to "
1583 "the script as its first argument. If the script exits with an error, no "
1584 "further processing is done. See also B<lastaction> and the B<SCRIPTS> "
1585 "section."
1586 msgstr ""
1587
1588 #. type: Plain text
1589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1591 msgid "B<lastaction>"
1592 msgstr ""
1593
1594 #. type: Plain text
1595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1597 msgid ""
1598 "B<endscript> The I<script> is executed once after all log files that match "
1599 "the wildcarded pattern are rotated, after the postrotate script is run and "
1600 "only if at least one log is rotated. These directives may only appear "
1601 "inside a log file definition. The whole pattern is passed to the script as "
1602 "its first argument. If the script exits with an error, just an error "
1603 "message is shown (as this is the last action). See also B<firstaction> and "
1604 "the B<SCRIPTS> section."
1605 msgstr ""
1606
1607 #. type: Plain text
1608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1610 msgid "B<prerotate>"
1611 msgstr ""
1612
1613 #. type: Plain text
1614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1616 msgid ""
1617 "B<endscript> The I<script> is executed before the log file and its old logs "
1618 "are rotated and only if the log will actually be rotated. These directives "
1619 "may only appear inside a log file definition. Normally, the absolute path "
1620 "to the log file is passed as the first argument to the script. If "
1621 "B<sharedscripts> is specified, the whole pattern is passed to the script. "
1622 "See also B<postrotate> and the B<SCRIPTS> section. See B<sharedscripts> and "
1623 "B<nosharedscripts> for error handling."
1624 msgstr ""
1625
1626 #. type: Plain text
1627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1629 msgid "B<postrotate>"
1630 msgstr ""
1631
1632 #. type: Plain text
1633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1635 msgid ""
1636 "B<endscript> The I<script> is executed after the log file is rotated and "
1637 "before the log file is being compressed. These directives may only appear "
1638 "inside a log file definition. Normally, the absolute path to the log file "
1639 "is passed as the first argument to the script and the absolute path to the "
1640 "final rotated log file is passed as the second argument to the script. If "
1641 "B<sharedscripts> is specified, the whole pattern is passed as the first "
1642 "argument to the script, and the second argument is omitted. See also "
1643 "B<prerotate> and the B<SCRIPTS> section. See B<sharedscripts> and "
1644 "B<nosharedscripts> for error handling."
1645 msgstr ""
1646
1647 #. type: Plain text
1648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1650 msgid "B<preremove>"
1651 msgstr ""
1652
1653 #. type: Plain text
1654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1656 msgid ""
1657 "B<endscript> The I<script> is executed once just before removal of a log "
1658 "file. B<logrotate> will pass the name of file which is soon to be removed "
1659 "as the first argument to the script. See also B<firstaction> and the "
1660 "B<SCRIPTS> section."
1661 msgstr ""
1662
1663 #. type: SH
1664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1666 #, no-wrap
1667 msgid "SCRIPTS"
1668 msgstr ""
1669
1670 #. type: Plain text
1671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1673 msgid ""
1674 "The lines between the starting keyword (e.g. B<prerotate>) and B<endscript> "
1675 "(both of which must appear on lines by themselves) are executed (using B</"
1676 "bin/sh>). The script inherits some traits from the B<logrotate> process, "
1677 "including stderr, stdout, the current directory, the environment, and the "
1678 "umask. Scripts are run as the invoking user and group, irrespective of any "
1679 "B<su> directive. If the B<--log> flag was specified, file descriptor 3 is "
1680 "the log file. The current working directory is unspecified."
1681 msgstr ""
1682
1683 #. type: SH
1684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1686 #, no-wrap
1687 msgid "USER AND GROUP"
1688 msgstr ""
1689
1690 #. type: Plain text
1691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1693 msgid ""
1694 "User and group identifiers are resolved first by trying the textual "
1695 "representation and, in case it fails, afterwards by the numeric value."
1696 msgstr ""
1697
1698 #. type: SH
1699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1701 #, no-wrap
1702 msgid "FILES"
1703 msgstr ""
1704
1705 #. type: tbl table
1706 #: archlinux mageia-cauldron
1707 #, no-wrap
1708 msgid "I</var/lib/logrotate.status>"
1709 msgstr ""
1710
1711 #. type: tbl table
1712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1714 #, no-wrap
1715 msgid "Default state file."
1716 msgstr ""
1717
1718 #. type: tbl table
1719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1721 #, no-wrap
1722 msgid "I</etc/logrotate.conf>"
1723 msgstr ""
1724
1725 #. type: tbl table
1726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1728 #, no-wrap
1729 msgid "Configuration options."
1730 msgstr ""
1731
1732 #. type: SH
1733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1735 #, no-wrap
1736 msgid "SEE ALSO"
1737 msgstr ""
1738
1739 #. type: Plain text
1740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1742 msgid ""
1743 "B<chmod>(2), B<gunzip>(1), B<gzip>(1), B<mail>(1), B<shred>(1), "
1744 "B<strftime>(3), B<strtoul>(3), E<lt>https://github.com/logrotate/"
1745 "logrotateE<gt>"
1746 msgstr ""
1747
1748 #. type: SH
1749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1751 #, no-wrap
1752 msgid "AUTHORS"
1753 msgstr ""
1754
1755 #. type: Plain text
1756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1758 #, no-wrap
1759 msgid "Erik Troan, Preston Brown, Jan Kaluza.\n"
1760 msgstr ""
1761
1762 #. type: Plain text
1763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1765 #, no-wrap
1766 msgid "E<lt>https://github.com/logrotate/logrotateE<gt>\n"
1767 msgstr ""
1768
1769 #. type: Plain text
1770 #: debian-trixie debian-unstable
1771 msgid ""
1772 "Tells B<logrotate> to use an alternate state file. This is useful if "
1773 "B<logrotate> is being run as a different user for various sets of log "
1774 "files. To prevent parallel execution B<logrotate> by default acquires a "
1775 "lock on the state file, if it cannot be acquired B<logrotate> will exit with "
1776 "value 3. The default state file is I</var/lib/logrotate/status>. If I</dev/"
1777 "null> is given as the state file, then B<logrotate> will not try to lock or "
1778 "write the state file."
1779 msgstr ""
1780
1781 #. type: tbl table
1782 #: debian-trixie debian-unstable
1783 #, no-wrap
1784 msgid "I</var/lib/logrotate/status>"
1785 msgstr ""
1786
1787 #. type: Plain text
1788 #: fedora-44 fedora-rawhide
1789 msgid ""
1790 "Tells B<logrotate> to use an alternate state file. This is useful if "
1791 "B<logrotate> is being run as a different user for various sets of log "
1792 "files. To prevent parallel execution B<logrotate> by default acquires a "
1793 "lock on the state file, if it cannot be acquired B<logrotate> will exit with "
1794 "value 3. The default state file is I</var/lib/logrotate/logrotate.status>. "
1795 "If I</dev/null> is given as the state file, then B<logrotate> will not try "
1796 "to lock or write the state file."
1797 msgstr ""
1798
1799 #. type: Plain text
1800 #: fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1801 #: opensuse-tumbleweed
1802 msgid ""
1803 "The command must then read a message on standard input and mail it to the "
1804 "recipient. The default mail command is I</bin/mail>."
1805 msgstr ""
1806
1807 #. type: tbl table
1808 #: fedora-44 fedora-rawhide
1809 #, no-wrap
1810 msgid "I</var/lib/logrotate/logrotate.status>"
1811 msgstr ""
1812
1813 #. type: Plain text
1814 #: opensuse-leap-16-1 opensuse-tumbleweed
1815 msgid ""
1816 "Tells B<logrotate> to use an alternate state file. This is useful if "
1817 "B<logrotate> is being run as a different user for various sets of log "
1818 "files. To prevent parallel execution B<logrotate> by default acquires a "
1819 "lock on the state file, if it cannot be acquired B<logrotate> will exit with "
1820 "value 3. The default state file is I</var/lib/misc/logrotate.status>. If "
1821 "I</dev/null> is given as the state file, then B<logrotate> will not try to "
1822 "lock or write the state file."
1823 msgstr ""
1824
1825 #. type: tbl table
1826 #: opensuse-leap-16-1 opensuse-tumbleweed
1827 #, no-wrap
1828 msgid "I</var/lib/misc/logrotate.status>"
1829 msgstr ""