Debian Codegraph @

templates/man5/systemd.service.5.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:47+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 "SYSTEMD\\&.SERVICE"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "systemd 260.2"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
34 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
35 #, no-wrap
36 msgid "systemd.service"
37 msgstr ""
38
39 #. -----------------------------------------------------------------
40 #. * MAIN CONTENT STARTS HERE *
41 #. -----------------------------------------------------------------
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr ""
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "systemd.service - Service unit configuration"
53 msgstr ""
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "SYNOPSIS"
60 msgstr ""
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "I<service>\\&.service"
66 msgstr ""
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "DESCRIPTION"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 msgid ""
79 "A unit configuration file whose name ends in \"\\&.service\" encodes "
80 "information about a process controlled and supervised by systemd\\&."
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 msgid ""
87 "This man page lists the configuration options specific to this unit type\\&. "
88 "See B<systemd.unit>(5) for the common options of all unit configuration "
89 "files\\&. The common configuration items are configured in the generic "
90 "[Unit] and [Install] sections\\&. The service specific configuration options "
91 "are configured in the [Service] section\\&."
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "Additional options are listed in B<systemd.exec>(5), which define the "
99 "execution environment the commands are executed in, and in "
100 "B<systemd.kill>(5), which define the way the processes of the service are "
101 "terminated, and in B<systemd.resource-control>(5), which configure resource "
102 "control settings for the processes of the service\\&."
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "The B<systemd-run>(1) command allows creating \\&.service and \\&.scope "
110 "units dynamically and transiently from the command line\\&."
111 msgstr ""
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "SERVICE TEMPLATES"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "It is possible for B<systemd> services to take a single argument via the "
125 "\"I<service>@I<argument>\\&.service\" syntax\\&. Such services are called "
126 "\"instantiated\" services, while the unit definition without the I<argument> "
127 "parameter is called a \"template\"\\&. An example could be a "
128 "dhcpcd@\\&.service service template which takes a network interface as a "
129 "parameter to form an instantiated service\\&. Within the service file, this "
130 "parameter or \"instance name\" can be accessed with %-specifiers\\&. See "
131 "B<systemd.unit>(5) for details\\&."
132 msgstr ""
133
134 #. type: SH
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "AUTOMATIC DEPENDENCIES"
139 msgstr ""
140
141 #. type: SS
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "Implicit Dependencies"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid "The following dependencies are implicitly added:"
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "Services with I<Type=dbus> set automatically acquire dependencies of type "
159 "I<Requires=> and I<After=> on dbus\\&.socket\\&."
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 "Socket activated services are automatically ordered after their activating "
167 "\\&.socket units via an automatic I<After=> dependency\\&. Services also "
168 "pull in all \\&.socket units listed in I<Sockets=> via automatic I<Wants=> "
169 "and I<After=> dependencies\\&."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "Additional implicit dependencies may be added as result of execution and "
177 "resource control parameters as documented in B<systemd.exec>(5) and "
178 "B<systemd.resource-control>(5)\\&."
179 msgstr ""
180
181 #. type: SS
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "Default Dependencies"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "The following dependencies are added unless I<DefaultDependencies=no> is set:"
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "Service units will have dependencies of type I<Requires=> and I<After=> on "
200 "sysinit\\&.target, a dependency of type I<After=> on basic\\&.target as well "
201 "as dependencies of type I<Conflicts=> and I<Before=> on "
202 "shutdown\\&.target\\&. These ensure that normal service units pull in basic "
203 "system initialization, and are terminated cleanly prior to system "
204 "shutdown\\&. Only services involved with early boot or late system shutdown "
205 "should disable this option\\&."
206 msgstr ""
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "Instanced service units (i\\&.e\\&. service units with an \"@\" in their "
213 "name) are assigned by default a per-template slice unit (see "
214 "B<systemd.slice>(5)), named after the template unit, containing all "
215 "instances of the specific template\\&. This slice is normally stopped at "
216 "shutdown, together with all template instances\\&. If that is not desired, "
217 "set I<DefaultDependencies=no> in the template unit, and either define your "
218 "own per-template slice unit file that also sets I<DefaultDependencies=no>, "
219 "or set I<Slice=system\\&.slice> (or another suitable slice) in the template "
220 "unit\\&. Also see B<systemd.resource-control>(5)\\&."
221 msgstr ""
222
223 #. type: SH
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "OPTIONS"
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid ""
234 "Service unit files may include [Unit] and [Install] sections, which are "
235 "described in B<systemd.unit>(5)\\&."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "Service unit files must include a [Service] section, which carries "
243 "information about the service and the process it supervises\\&. A number of "
244 "options that may be used in this section are shared with other unit "
245 "types\\&. These options are documented in B<systemd.exec>(5), "
246 "B<systemd.kill>(5) and B<systemd.resource-control>(5)\\&. The options "
247 "specific to the [Service] section of service units are the following:"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "I<Type=>"
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "Configures the mechanism via which the service notifies the manager that the "
261 "service start-up has finished\\&. One of B<simple>, B<exec>, B<forking>, "
262 "B<oneshot>, B<dbus>, B<notify>, B<notify-reload>, or B<idle>:"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "If set to B<simple> (the default if I<ExecStart=> is specified but neither "
270 "I<Type=> nor I<BusName=> are, and credentials are not used), the service "
271 "manager will consider the unit started immediately after the main service "
272 "process has been forked off (i\\&.e\\&. immediately after B<fork()>, and "
273 "before various process attributes have been configured and in particular "
274 "before the new process has called B<execve()> to invoke the actual service "
275 "binary)\\&. Typically, I<Type=>B<exec> is the better choice, see below\\&."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "It is expected that the process configured with I<ExecStart=> is the main "
283 "process of the service\\&. In this mode, if the process offers functionality "
284 "to other processes on the system, its communication channels should be "
285 "installed before the service is started up (e\\&.g\\&. sockets set up by "
286 "systemd, via socket activation), as the service manager will immediately "
287 "proceed starting follow-up units, right after creating the main service "
288 "process, and before executing the service\\*(Aqs binary\\&. Note that this "
289 "means B<systemctl start> command lines for B<simple> services will report "
290 "success even if the service\\*(Aqs binary cannot be invoked successfully "
291 "(for example because the selected I<User=> does not exist, or the service "
292 "binary is missing)\\&."
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "The B<exec> type is similar to B<simple>, but the service manager will "
300 "consider the unit started immediately after the main service binary has been "
301 "executed\\&. The service manager will delay starting of follow-up units "
302 "until that point\\&. (Or in other words: B<simple> proceeds with further "
303 "jobs right after B<fork()> returns, while B<exec> will not proceed before "
304 "both B<fork()> and B<execve()> in the service process succeeded\\&.) Note "
305 "that this means B<systemctl start> command lines for B<exec> services will "
306 "report failure when the service\\*(Aqs binary cannot be invoked successfully "
307 "(for example because the selected I<User=> does not exist, or the service "
308 "binary is missing)\\&. This type is implied if credentials are used (refer "
309 "to I<LoadCredential=> in B<systemd.exec>(5) for details)\\&."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "If set to B<forking>, the manager will consider the unit started immediately "
317 "after the binary that forked off by the manager exits\\&. I<The use of this "
318 "type is discouraged, use >B<notify>I<, >B<notify-reload>I<, or >B<dbus>I< "
319 "instead\\&.>"
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "It is expected that the process configured with I<ExecStart=> will call "
327 "B<fork()> as part of its start-up\\&. The parent process is expected to exit "
328 "when start-up is complete and all communication channels are set up\\&. The "
329 "child continues to run as the main service process, and the service manager "
330 "will consider the unit started when the parent process exits\\&. This is the "
331 "behavior of traditional UNIX services\\&. If this setting is used, it is "
332 "recommended to also use the I<PIDFile=> option, so that systemd can reliably "
333 "identify the main process of the service\\&. The manager will proceed with "
334 "starting follow-up units after the parent process exits\\&."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "Behavior of B<oneshot> is similar to B<exec>; however, the service manager "
342 "will consider the unit up after the main process exits\\&. It will then "
343 "start follow-up units\\&. I<RemainAfterExit=> is particularly useful for "
344 "this type of service\\&. I<Type=>B<oneshot> is the implied default if "
345 "neither I<Type=> nor I<ExecStart=> are specified\\&. Note that if this "
346 "option is used without I<RemainAfterExit=> the service will never enter "
347 "\"active\" unit state, but will directly transition from \"activating\" to "
348 "\"deactivating\" or \"dead\", since no process is configured that shall run "
349 "continuously\\&. In particular this means that after a service of this type "
350 "ran (and which has I<RemainAfterExit=> not set) it will not show up as "
351 "started afterwards, but as dead\\&."
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "Behavior of B<dbus> is similar to B<simple>; however, units of this type "
359 "must have the I<BusName=> specified and the service manager will consider "
360 "the unit up when the specified bus name has been acquired\\&. This type is "
361 "the default if I<BusName=> is specified\\&."
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "Service units with this option configured implicitly gain dependencies on "
369 "the dbus\\&.socket unit\\&. A service unit of this type is considered to be "
370 "in the activating state until the specified bus name is acquired\\&. It is "
371 "considered activated while the bus name is taken\\&. Once the bus name is "
372 "released the service is considered being no longer functional which has the "
373 "effect that the service manager attempts to terminate any remaining "
374 "processes belonging to the service\\&. Services that drop their bus name as "
375 "part of their shutdown logic thus should be prepared to receive a B<SIGTERM> "
376 "(or whichever signal is configured in I<KillSignal=>) as result\\&."
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "Behavior of B<notify> is similar to B<exec>; however, it is expected that "
384 "the service sends a \"READY=1\" notification message via B<sd_notify>(3) or "
385 "an equivalent call when it has finished starting up\\&. systemd will proceed "
386 "with starting follow-up units after this notification message has been "
387 "sent\\&. If this option is used, I<NotifyAccess=> (see below) should be set "
388 "to open access to the notification socket provided by systemd\\&. If "
389 "I<NotifyAccess=> is missing or set to B<none>, it will be forcibly set to "
390 "B<main>\\&."
391 msgstr ""
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "If the service supports reloading, and uses a signal to start the reload, "
398 "using B<notify-reload> instead is recommended\\&."
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "Behavior of B<notify-reload> is similar to B<notify>, with one difference: "
406 "the B<SIGHUP> UNIX process signal is sent to the service\\*(Aqs main process "
407 "when the service is asked to reload and the manager will wait for a "
408 "notification about the reload being finished\\&."
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 "When initiating the reload process the service is expected to reply with a "
416 "notification message via B<sd_notify>(3) that contains the \"RELOADING=1\" "
417 "field in combination with \"MONOTONIC_USEC=\" set to the current monotonic "
418 "time (i\\&.e\\&. B<CLOCK_MONOTONIC> in B<clock_gettime>(2)) in μs, "
419 "formatted as decimal string\\&. Once reloading is complete another "
420 "notification message must be sent, containing \"READY=1\"\\&. Using this "
421 "service type and implementing this reload protocol is an efficient "
422 "alternative to providing an I<ExecReload=> command for reloading of the "
423 "service\\*(Aqs configuration\\&."
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid "The signal to send can be tweaked via I<ReloadSignal=>, see below\\&."
430 msgstr ""
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid ""
436 "Behavior of B<idle> is very similar to B<simple>; however, actual execution "
437 "of the service program is delayed until all active jobs are dispatched\\&. "
438 "This may be used to avoid interleaving of output of shell services with the "
439 "status output on the console\\&. Note that this type is useful only to "
440 "improve console output, it is not useful as a general unit ordering tool, "
441 "and the effect of this service type is subject to a 5s timeout, after which "
442 "the service program is invoked anyway\\&."
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "It is recommended to use I<Type=>B<exec> for long-running services, as it "
450 "ensures that process setup errors (e\\&.g\\&. errors such as a missing "
451 "service executable, or missing user) are properly tracked\\&. However, as "
452 "this service type will not propagate the failures in the service\\*(Aqs own "
453 "startup code (as opposed to failures in the preparatory steps the service "
454 "manager executes before B<execve()>) and does not allow ordering of other "
455 "units against completion of initialization of the service code itself (which "
456 "for example is useful if clients need to connect to the service through some "
457 "form of IPC, and the IPC channel is only established by the service itself \\"
458 "(em in contrast to doing this ahead of time through socket or bus activation "
459 "or similar), it might not be sufficient for many cases\\&. If so, B<notify>, "
460 "B<notify-reload>, or B<dbus> (the latter only in case the service provides a "
461 "D-Bus interface) are the preferred options as they allow service program "
462 "code to precisely schedule when to consider the service started up "
463 "successfully and when to proceed with follow-up units\\&. The B<notify>/"
464 "B<notify-reload> service types require explicit support in the service "
465 "codebase (as B<sd_notify()> or an equivalent API needs to be invoked by the "
466 "service at the appropriate time) \\(em if it is not supported, then "
467 "B<forking> is an alternative: it supports the traditional heavy-weight UNIX "
468 "service start-up protocol\\&. Note that using any type other than B<simple> "
469 "possibly delays the boot process, as the service manager needs to wait for "
470 "at least some service initialization to complete\\&. (Also note it is "
471 "generally not recommended to use B<idle> or B<oneshot> for long-running "
472 "services\\&.)"
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "Note that various service settings (e\\&.g\\&. I<User=>, I<Group=> through "
480 "libc NSS) might result in \"hidden\" blocking IPC calls to other services "
481 "when used\\&. Sometimes it might be advisable to use the B<simple> service "
482 "type to ensure that the service manager\\*(Aqs transaction logic is not "
483 "affected by such potentially slow operations and hidden dependencies, as "
484 "this is the only service type where the service manager will not wait for "
485 "such service execution setup operations to complete before proceeding\\&."
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid "I<ExitType=>"
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "Specifies when the manager should consider the service to be finished\\&. "
499 "One of B<main> or B<cgroup>:"
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "If set to B<main> (the default), the service manager will consider the unit "
507 "stopped when the main process, which is determined according to the "
508 "I<Type=>, exits\\&. Consequently, it cannot be used with "
509 "I<Type=>B<oneshot>\\&."
510 msgstr ""
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid ""
516 "If set to B<cgroup>, the service will be considered running as long as at "
517 "least one process in the cgroup has not exited\\&."
518 msgstr ""
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "It is generally recommended to use I<ExitType=>B<main> when a service has a "
525 "known forking model and a main process can reliably be determined\\&. "
526 "I<ExitType=> B<cgroup> is meant for applications whose forking model is not "
527 "known ahead of time and which might not have a specific main process\\&. It "
528 "is well suited for transient or automatically generated services, such as "
529 "graphical applications inside of a desktop environment\\&."
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid "Added in version 250\\&."
536 msgstr ""
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "I<RemainAfterExit=>"
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "Takes a boolean value that specifies whether the service shall be considered "
549 "active even when all its processes exited\\&. Defaults to B<no>\\&."
550 msgstr ""
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid "I<GuessMainPID=>"
556 msgstr ""
557
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 msgid ""
562 "Takes a boolean value that specifies whether systemd should try to guess the "
563 "main PID of a service if it cannot be determined reliably\\&. This option is "
564 "ignored unless B<Type=forking> is set and B<PIDFile=> is unset because for "
565 "the other types or with an explicitly configured PID file, the main PID is "
566 "always known\\&. The guessing algorithm might come to incorrect conclusions "
567 "if a daemon consists of more than one process\\&. If the main PID cannot be "
568 "determined, failure detection and automatic restarting of a service will not "
569 "work reliably\\&. Defaults to B<yes>\\&."
570 msgstr ""
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid "I<PIDFile=>"
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 "Takes a path referring to the PID file of the service\\&. Usage of this "
583 "option is recommended for services where I<Type=> is set to B<forking>\\&. "
584 "The path specified typically points to a file below /run/\\&. If a relative "
585 "path is specified for system service, then it is hence prefixed with /run/, "
586 "and prefixed with $XDG_RUNTIME_DIR if specified in a user service\\&. The "
587 "service manager will read the PID of the main process of the service from "
588 "this file after start-up of the service\\&. The service manager will not "
589 "write to the file configured here, although it will remove the file after "
590 "the service has shut down if it still exists\\&. The PID file does not need "
591 "to be owned by a privileged user, but if it is owned by an unprivileged user "
592 "additional safety restrictions are enforced: the file may not be a symlink "
593 "to a file owned by a different user (neither directly nor indirectly), and "
594 "the PID file must refer to a process already belonging to the service\\&."
595 msgstr ""
596
597 #. type: Plain text
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 msgid ""
601 "Note that PID files should be avoided in modern projects\\&. Use "
602 "B<Type=notify>, B<Type=notify-reload> or B<Type=simple> where possible, "
603 "which does not require use of PID files to determine the main process of a "
604 "service and avoids needless forking\\&."
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 "I<BusName=>"
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid ""
617 "Takes a D-Bus destination name that this service shall use\\&. This option "
618 "is mandatory for services where I<Type=> is set to B<dbus>\\&. It is "
619 "recommended to always set this property if known to make it easy to map the "
620 "service name to the D-Bus destination\\&. In particular, B<systemctl service-"
621 "log-level/service-log-target> verbs make use of this\\&."
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 "I<ExecStart=>"
628 msgstr ""
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid "Commands that are executed when this service is started\\&."
634 msgstr ""
635
636 #. type: Plain text
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 msgid ""
640 "Unless I<Type=> is B<oneshot>, exactly one command must be given\\&. When "
641 "I<Type=oneshot> is used, this setting may be used multiple times to define "
642 "multiple commands to execute\\&. If the empty string is assigned to this "
643 "option, the list of commands to start is reset, prior assignments of this "
644 "option will have no effect\\&. If no I<ExecStart=> is specified, then the "
645 "service must have I<RemainAfterExit=yes> and at least one I<ExecStop=> line "
646 "set\\&. (Services lacking both I<ExecStart=> and I<ExecStop=> are not "
647 "valid\\&.)"
648 msgstr ""
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "If more than one command is configured, the commands are invoked "
655 "sequentially in the order they appear in the unit file\\&. If one of the "
656 "commands fails (and is not prefixed with \"-\"), other lines are not "
657 "executed, and the unit is considered failed\\&."
658 msgstr ""
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 msgid ""
664 "Unless I<Type=forking> is set, the process started via this command line "
665 "will be considered the main process of the daemon\\&."
666 msgstr ""
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid "I<ExecStartPre=>, I<ExecStartPost=>"
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "Additional commands that are executed before or after the command in "
679 "I<ExecStart=>, respectively\\&. Syntax is the same as for I<ExecStart=>\\&. "
680 "Multiple command lines are allowed, regardless of the service type "
681 "(i\\&.e\\&. I<Type=>), and the commands are executed one after the other, "
682 "serially\\&."
683 msgstr ""
684
685 #. type: Plain text
686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
688 msgid ""
689 "If any of those commands (not prefixed with \"-\") fail, the rest are not "
690 "executed and the unit is considered failed\\&."
691 msgstr ""
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
696 msgid ""
697 "I<ExecStart=> commands are only run after all I<ExecStartPre=> commands that "
698 "were not prefixed with a \"-\" exit successfully\\&."
699 msgstr ""
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 msgid ""
705 "I<ExecStartPost=> commands are only run after the commands specified in "
706 "I<ExecStart=> have been invoked successfully, as determined by I<Type=> "
707 "(i\\&.e\\&. the process has been started for I<Type=simple> or I<Type=idle>, "
708 "the last I<ExecStart=> process exited successfully for I<Type=oneshot>, the "
709 "initial process exited successfully for I<Type=forking>, \"READY=1\" is sent "
710 "for I<Type=notify>/I<Type=notify-reload>, or the I<BusName=> has been taken "
711 "for I<Type=dbus>)\\&."
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 "Note that I<ExecStartPre=> may not be used to start long-running "
719 "processes\\&. All processes forked off by processes invoked via "
720 "I<ExecStartPre=> will be killed before the next service process is run\\&."
721 msgstr ""
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "Note that if any of the commands specified in I<ExecStartPre=>, "
728 "I<ExecStart=>, or I<ExecStartPost=> fail (and are not prefixed with \"-\", "
729 "see above) or time out before the service is fully up, execution continues "
730 "with commands specified in I<ExecStopPost=>, the commands in I<ExecStop=> "
731 "are skipped\\&."
732 msgstr ""
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid ""
738 "Note that the execution of I<ExecStartPost=> is taken into account for the "
739 "purpose of I<Before=>/I<After=> ordering constraints\\&."
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 "I<ExecCondition=>"
746 msgstr ""
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid ""
752 "Optional commands that are executed before the commands in "
753 "I<ExecStartPre=>\\&. Syntax is the same as for I<ExecStart=>\\&. Multiple "
754 "command lines are allowed, regardless of the service type (i\\&.e\\&. "
755 "I<Type=>), and the commands are executed one after the other, serially\\&."
756 msgstr ""
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "The behavior is like an I<ExecStartPre=> and condition check hybrid: when an "
763 "I<ExecCondition=> command exits with exit code 1 through 254 (inclusive), "
764 "the remaining commands are skipped and the unit is I<not> marked as "
765 "failed\\&. However, if an I<ExecCondition=> command exits with 255 or "
766 "abnormally (e\\&.g\\&. timeout, killed by a signal, etc\\&.), the unit will "
767 "be considered failed (and remaining commands will be skipped)\\&. Exit code "
768 "of 0 or those matching I<SuccessExitStatus=> will continue execution to the "
769 "next commands\\&."
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "The same recommendations about not running long-running processes in "
777 "I<ExecStartPre=> also applies to I<ExecCondition=>\\&. I<ExecCondition=> "
778 "will also run the commands in I<ExecStopPost=>, as part of stopping the "
779 "service, in the case of any non-zero or abnormal exits, like the ones "
780 "described above\\&."
781 msgstr ""
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid "Added in version 243\\&."
787 msgstr ""
788
789 #. type: Plain text
790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
792 msgid "I<ExecReload=>"
793 msgstr ""
794
795 #. type: Plain text
796 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
797 msgid ""
798 "Commands to execute to trigger a configuration reload in the service\\&. "
799 "This setting may take multiple command lines, following the same scheme as "
800 "described for I<ExecStart=> above\\&. Use of this setting is optional\\&. "
801 "Specifier and environment variable substitution is supported here following "
802 "the same scheme as for I<ExecStart=>\\&."
803 msgstr ""
804
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid ""
809 "One additional, special environment variable is set: if known, I<$MAINPID> "
810 "is set to the main process of the daemon, and may be used for command lines "
811 "like the following:"
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 #, no-wrap
818 msgid "ExecReload=kill -HUP $MAINPID\n"
819 msgstr ""
820
821 #. type: Plain text
822 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
823 msgid ""
824 "Note however that reloading a daemon by enqueuing a signal without "
825 "completion notification (as is the case with the example line above) is "
826 "usually not a good choice, because this is an asynchronous operation and "
827 "hence not suitable when ordering reloads of multiple services against each "
828 "other\\&. It is thus strongly recommended to either use I<Type=notify-"
829 "reload>, or to set I<ExecReload=> to a command that not only triggers a "
830 "configuration reload of the daemon, but also synchronously waits for it to "
831 "complete\\&. For example, B<dbus-broker>(1) uses the following:"
832 msgstr ""
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 #, no-wrap
838 msgid ""
839 "ExecReload=busctl call org\\&.freedesktop\\&.DBus \\e\n"
840 " /org/freedesktop/DBus org\\&.freedesktop\\&.DBus \\e\n"
841 " ReloadConfig\n"
842 msgstr ""
843
844 #. type: Plain text
845 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
846 msgid ""
847 "This setting can be combined with I<Type=notify-reload>, in which case the "
848 "service main process is signaled after all specified command lines finish "
849 "execution\\&. Specially, if \"RELOADING=1\" notification is received before "
850 "I<ExecReload=> completes, the signaling is skipped and the service manager "
851 "immediately starts listening for \"READY=1\"\\&."
852 msgstr ""
853
854 #. type: Plain text
855 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
856 msgid "I<ExecReloadPost=>"
857 msgstr ""
858
859 #. type: Plain text
860 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
861 msgid ""
862 "Commands to execute after a successful reload operation\\&. Syntax for this "
863 "setting is exactly the same as I<ExecReload=>\\&."
864 msgstr ""
865
866 #. type: Plain text
867 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
868 msgid "Added in version 259\\&."
869 msgstr ""
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid "I<ExecStop=>"
875 msgstr ""
876
877 #. type: Plain text
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 msgid ""
881 "Commands to execute to stop the service started via I<ExecStart=>\\&. This "
882 "argument takes multiple command lines, following the same scheme as "
883 "described for I<ExecStart=> above\\&. Use of this setting is optional\\&. "
884 "After the commands configured in this option are run, it is implied that the "
885 "service is stopped, and any processes remaining for it are terminated "
886 "according to the I<KillMode=> setting (see B<systemd.kill>(5))\\&. If this "
887 "option is not specified, the process is terminated by sending the signal "
888 "specified in I<KillSignal=> or I<RestartKillSignal=> when service stop is "
889 "requested\\&. Specifier and environment variable substitution is supported "
890 "(including I<$MAINPID>, see above)\\&."
891 msgstr ""
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid ""
897 "Note that it is usually not sufficient to specify a command for this setting "
898 "that only asks the service to terminate (for example, by sending some form "
899 "of termination signal to it), but does not wait for it to do so\\&. Since "
900 "the remaining processes of the services are killed according to I<KillMode=> "
901 "and I<KillSignal=> or I<RestartKillSignal=> as described above immediately "
902 "after the command exited, this may not result in a clean stop\\&. The "
903 "specified command should hence be a synchronous operation, not an "
904 "asynchronous one\\&."
905 msgstr ""
906
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 msgid ""
911 "Note that the commands specified in I<ExecStop=> are only executed when the "
912 "service started successfully first\\&. They are not invoked if the service "
913 "was never started at all, or in case its start-up failed, for example "
914 "because any of the commands specified in I<ExecStart=>, I<ExecStartPre=> or "
915 "I<ExecStartPost=> failed (and were not prefixed with \"-\", see above) or "
916 "timed out\\&. Use I<ExecStopPost=> to invoke commands when a service failed "
917 "to start up correctly and is shut down again\\&. Also note that the stop "
918 "operation is always performed if the service started successfully, even if "
919 "the processes in the service terminated on their own or were killed\\&. The "
920 "stop commands must be prepared to deal with that case\\&. I<$MAINPID> will "
921 "be unset if systemd knows that the main process exited by the time the stop "
922 "commands are called\\&."
923 msgstr ""
924
925 #. type: Plain text
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 msgid ""
929 "Service restart requests are implemented as stop operations followed by "
930 "start operations\\&. This means that I<ExecStop=> and I<ExecStopPost=> are "
931 "executed during a service restart operation\\&."
932 msgstr ""
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "It is recommended to use this setting for commands that communicate with the "
939 "service requesting clean termination\\&. For post-mortem clean-up steps use "
940 "I<ExecStopPost=> instead\\&."
941 msgstr ""
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 msgid "I<ExecStopPost=>"
947 msgstr ""
948
949 #. type: Plain text
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
952 msgid ""
953 "Additional commands that are executed after the service is stopped\\&. This "
954 "includes cases where the commands configured in I<ExecStop=> were used, "
955 "where the service does not have any I<ExecStop=> defined, or where the "
956 "service exited unexpectedly\\&. This argument takes multiple command lines, "
957 "following the same scheme as described for I<ExecStart=>\\&. Use of these "
958 "settings is optional\\&. Specifier and environment variable substitution is "
959 "supported\\&. Note that \\(en unlike I<ExecStop=> \\(en commands specified "
960 "with this setting are invoked when a service failed to start up correctly "
961 "and is shut down again\\&."
962 msgstr ""
963
964 #. type: Plain text
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 msgid ""
968 "It is recommended to use this setting for clean-up operations that shall be "
969 "executed even when the service failed to start up correctly\\&. Commands "
970 "configured with this setting need to be able to operate even if the service "
971 "failed starting up half-way and left incompletely initialized data "
972 "around\\&. As the service\\*(Aqs processes have likely exited already when "
973 "the commands specified with this setting are executed they should not "
974 "attempt to communicate with them\\&."
975 msgstr ""
976
977 #. type: Plain text
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
980 msgid ""
981 "Note that all commands that are configured with this setting are invoked "
982 "with the result code of the service, as well as the main process\\*(Aq exit "
983 "code and status, set in the I<$SERVICE_RESULT>, I<$EXIT_CODE> and "
984 "I<$EXIT_STATUS> environment variables, see B<systemd.exec>(5) for "
985 "details\\&."
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 "Note that the execution of I<ExecStopPost=> is taken into account for the "
993 "purpose of I<Before=>/I<After=> ordering constraints\\&."
994 msgstr ""
995
996 #. type: Plain text
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 msgid "I<RestartSec=>"
1000 msgstr ""
1001
1002 #. type: Plain text
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 msgid ""
1006 "Configures the time to sleep before restarting a service (as configured with "
1007 "I<Restart=>)\\&. Takes a unit-less value in seconds, or a time span value "
1008 "such as \"5min 20s\"\\&. Defaults to 100ms\\&."
1009 msgstr ""
1010
1011 #. type: Plain text
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 msgid "I<RestartSteps=>"
1015 msgstr ""
1016
1017 #. type: Plain text
1018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1020 msgid ""
1021 "Configures the number of exponential steps to take to increase the interval "
1022 "of auto-restarts from I<RestartSec=> to I<RestartMaxDelaySec=>\\&. Takes a "
1023 "positive integer or 0 to disable it\\&. Defaults to 0\\&. I<Hint:> values "
1024 "between 3 and 5 are good choices when exponential backoff is desired\\&."
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 msgid "Example:"
1031 msgstr ""
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 #, no-wrap
1037 msgid ""
1038 "RestartSec=10s\n"
1039 "RestartSteps=4\n"
1040 "RestartMaxDelaySec=160s\n"
1041 msgstr ""
1042
1043 #. type: Plain text
1044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1046 msgid ""
1047 "This will produce the following restart intervals: 10s, 20s, 40s, 80s, 160s, "
1048 "160s, 160s, etc\\&. Notice the geometric interpolation and the resulting "
1049 "constant ratio between intervals; here it is 2\\&. The formula for the "
1050 "I<ratio> is (I<RestartMaxDelaySec> / I<RestartSec>)^(1 / I<RestartSteps>)"
1051 "\\&. A (repeating) delay equal to I<RestartMaxDelaySec=> is always reached "
1052 "after I<RestartSteps> + 1 steps\\&."
1053 msgstr ""
1054
1055 #. type: Plain text
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 msgid ""
1059 "This setting is effective only if I<RestartMaxDelaySec=> is also set and "
1060 "I<RestartSec=> is not zero\\&."
1061 msgstr ""
1062
1063 #. type: Plain text
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 msgid "Added in version 254\\&."
1067 msgstr ""
1068
1069 #. type: Plain text
1070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1072 msgid "I<RestartMaxDelaySec=>"
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 "Configures the longest time to sleep before restarting a service as the "
1080 "interval goes up with I<RestartSteps=>\\&. Takes a value in the same format "
1081 "as I<RestartSec=>, or \"infinity\" to disable the setting\\&. Defaults to "
1082 "\"infinity\"\\&."
1083 msgstr ""
1084
1085 #. type: Plain text
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 msgid ""
1089 "This setting is effective only if I<RestartSteps=> is also set and "
1090 "I<RestartSec=> is not zero\\&."
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 msgid "I<TimeoutStartSec=>"
1097 msgstr ""
1098
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "Configures the time to wait for start-up\\&. If a daemon service does not "
1104 "signal start-up completion within the configured time, the service will be "
1105 "considered failed and will be shut down again\\&. The precise action depends "
1106 "on the I<TimeoutStartFailureMode=> option\\&. Takes a unit-less value in "
1107 "seconds, or a time span value such as \"5min 20s\"\\&. Pass \"infinity\" to "
1108 "disable the timeout logic\\&. Defaults to I<DefaultTimeoutStartSec=> set in "
1109 "the manager, except when I<Type=oneshot> is used, in which case the timeout "
1110 "is disabled by default (see B<systemd-system.conf>(5))\\&."
1111 msgstr ""
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid ""
1117 "If a service of I<Type=notify>/I<Type=notify-reload> sends "
1118 "\"EXTEND_TIMEOUT_USEC=\\&...\", this may cause the start time to be extended "
1119 "beyond I<TimeoutStartSec=>\\&. The first receipt of this message must occur "
1120 "before I<TimeoutStartSec=> is exceeded, and once the start time has extended "
1121 "beyond I<TimeoutStartSec=>, the service manager will allow the service to "
1122 "continue to start, provided the service repeats \"EXTEND_TIMEOUT_USEC=\\&..."
1123 "\" within the interval specified until the service startup status is "
1124 "finished by \"READY=1\"\\&. (see B<sd_notify>(3))\\&."
1125 msgstr ""
1126
1127 #. type: Plain text
1128 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1129 #: opensuse-tumbleweed
1130 msgid ""
1131 "Note that the start timeout is also applied to service reloads, regardless "
1132 "of whether implemented through I<ExecReload=> or via the reload logic "
1133 "enabled via I<Type=notify-reload>\\&. If the reload does not complete within "
1134 "the configured time, the reload will be considered failed and the service "
1135 "will continue running with the old configuration\\&. This will not affect "
1136 "the running service, but will be logged and will cause e\\&.g\\&. "
1137 "B<systemctl reload> to fail\\&."
1138 msgstr ""
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 msgid "Added in version 188\\&."
1144 msgstr ""
1145
1146 #. type: Plain text
1147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1149 msgid "I<TimeoutStopSec=>"
1150 msgstr ""
1151
1152 #. type: Plain text
1153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1155 msgid ""
1156 "This option serves two purposes\\&. First, it configures the time to wait "
1157 "for each I<ExecStop=> command\\&. If any of them times out, subsequent "
1158 "I<ExecStop=> commands are skipped and the service will be terminated by "
1159 "B<SIGTERM>\\&. If no I<ExecStop=> commands are specified, the service gets "
1160 "the B<SIGTERM> immediately\\&. This default behavior can be changed by the "
1161 "I<TimeoutStopFailureMode=> option\\&. Second, it configures the time to wait "
1162 "for the service itself to stop\\&. If it does not terminate in the specified "
1163 "time, it will be forcibly terminated by B<SIGKILL> (see I<KillMode=> in "
1164 "B<systemd.kill>(5))\\&. Takes a unit-less value in seconds, or a time span "
1165 "value such as \"5min 20s\"\\&. Pass \"infinity\" to disable the timeout "
1166 "logic\\&. Defaults to I<DefaultTimeoutStopSec=> from the manager "
1167 "configuration file (see B<systemd-system.conf>(5))\\&."
1168 msgstr ""
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 msgid ""
1174 "If a service of I<Type=notify>/I<Type=notify-reload> sends "
1175 "\"EXTEND_TIMEOUT_USEC=\\&...\", this may cause the stop time to be extended "
1176 "beyond I<TimeoutStopSec=>\\&. The first receipt of this message must occur "
1177 "before I<TimeoutStopSec=> is exceeded, and once the stop time has extended "
1178 "beyond I<TimeoutStopSec=>, the service manager will allow the service to "
1179 "continue to stop, provided the service repeats \"EXTEND_TIMEOUT_USEC=\\&..."
1180 "\" within the interval specified, or terminates itself (see B<sd_notify>(3))"
1181 "\\&."
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 "I<TimeoutAbortSec=>"
1188 msgstr ""
1189
1190 #. type: Plain text
1191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1193 msgid ""
1194 "This option configures the time to wait for the service to terminate when it "
1195 "was aborted due to a watchdog timeout (see I<WatchdogSec=>)\\&. If the "
1196 "service has a short I<TimeoutStopSec=> this option can be used to give the "
1197 "system more time to write a core dump of the service\\&. Upon expiration the "
1198 "service will be forcibly terminated by B<SIGKILL> (see I<KillMode=> in "
1199 "B<systemd.kill>(5))\\&. The core file will be truncated in this case\\&. Use "
1200 "I<TimeoutAbortSec=> to set a sensible timeout for the core dumping per "
1201 "service that is large enough to write all expected data while also being "
1202 "short enough to handle the service failure in due time\\&."
1203 msgstr ""
1204
1205 #. type: Plain text
1206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1208 msgid ""
1209 "Takes a unit-less value in seconds, or a time span value such as \"5min "
1210 "20s\"\\&. Pass an empty value to skip the dedicated watchdog abort timeout "
1211 "handling and fall back I<TimeoutStopSec=>\\&. Pass \"infinity\" to disable "
1212 "the timeout logic\\&. Defaults to I<DefaultTimeoutAbortSec=> from the "
1213 "manager configuration file (see B<systemd-system.conf>(5))\\&."
1214 msgstr ""
1215
1216 #. type: Plain text
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 msgid ""
1220 "If a service of I<Type=notify>/I<Type=notify-reload> handles B<SIGABRT> "
1221 "itself (instead of relying on the kernel to write a core dump) it can send "
1222 "\"EXTEND_TIMEOUT_USEC=\\&...\" to extended the abort time beyond "
1223 "I<TimeoutAbortSec=>\\&. The first receipt of this message must occur before "
1224 "I<TimeoutAbortSec=> is exceeded, and once the abort time has extended beyond "
1225 "I<TimeoutAbortSec=>, the service manager will allow the service to continue "
1226 "to abort, provided the service repeats \"EXTEND_TIMEOUT_USEC=\\&...\" within "
1227 "the interval specified, or terminates itself (see B<sd_notify>(3))\\&."
1228 msgstr ""
1229
1230 #. type: Plain text
1231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1233 msgid "I<TimeoutSec=>"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1239 msgid ""
1240 "A shorthand for configuring both I<TimeoutStartSec=> and I<TimeoutStopSec=> "
1241 "to the specified value\\&."
1242 msgstr ""
1243
1244 #. type: Plain text
1245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1247 msgid "I<TimeoutStartFailureMode=>, I<TimeoutStopFailureMode=>"
1248 msgstr ""
1249
1250 #. type: Plain text
1251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1253 msgid ""
1254 "These options configure the action that is taken in case a daemon service "
1255 "does not signal start-up within its configured I<TimeoutStartSec=>, "
1256 "respectively if it does not stop within I<TimeoutStopSec=>\\&. Takes one of "
1257 "B<terminate>, B<abort> and B<kill>\\&. Both options default to "
1258 "B<terminate>\\&."
1259 msgstr ""
1260
1261 #. type: Plain text
1262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1264 msgid ""
1265 "If B<terminate> is set the service will be gracefully terminated by sending "
1266 "the signal specified in I<KillSignal=> (defaults to B<SIGTERM>, see "
1267 "B<systemd.kill>(5))\\&. If the service does not terminate the "
1268 "I<FinalKillSignal=> is sent after I<TimeoutStopSec=>\\&. If B<abort> is set, "
1269 "I<WatchdogSignal=> is sent instead and I<TimeoutAbortSec=> applies before "
1270 "sending I<FinalKillSignal=>\\&. This setting may be used to analyze services "
1271 "that fail to start-up or shut-down intermittently\\&. By using B<kill> the "
1272 "service is immediately terminated by sending I<FinalKillSignal=> without any "
1273 "further timeout\\&. This setting can be used to expedite the shutdown of "
1274 "failing services\\&."
1275 msgstr ""
1276
1277 #. type: Plain text
1278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1280 msgid "Added in version 246\\&."
1281 msgstr ""
1282
1283 #. type: Plain text
1284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1286 msgid "I<RuntimeMaxSec=>"
1287 msgstr ""
1288
1289 #. type: Plain text
1290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1292 msgid ""
1293 "Configures a maximum time for the service to run\\&. If this is used and the "
1294 "service has been active for longer than the specified time it is terminated "
1295 "and put into a failure state\\&. Note that this setting does not have any "
1296 "effect on I<Type=oneshot> services, as they terminate immediately after "
1297 "activation completed (use I<TimeoutStartSec=> to limit their activation)\\&. "
1298 "Pass \"infinity\" (the default) to configure no runtime limit\\&."
1299 msgstr ""
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 msgid ""
1305 "If a service of I<Type=notify>/I<Type=notify-reload> sends "
1306 "\"EXTEND_TIMEOUT_USEC=\\&...\", this may cause the runtime to be extended "
1307 "beyond I<RuntimeMaxSec=>\\&. The first receipt of this message must occur "
1308 "before I<RuntimeMaxSec=> is exceeded, and once the runtime has extended "
1309 "beyond I<RuntimeMaxSec=>, the service manager will allow the service to "
1310 "continue to run, provided the service repeats \"EXTEND_TIMEOUT_USEC=\\&...\" "
1311 "within the interval specified until the service shutdown is achieved by "
1312 "\"STOPPING=1\" (or termination)\\&. (see B<sd_notify>(3))\\&."
1313 msgstr ""
1314
1315 #. type: Plain text
1316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1318 msgid "Added in version 229\\&."
1319 msgstr ""
1320
1321 #. type: Plain text
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 msgid "I<RuntimeRandomizedExtraSec=>"
1325 msgstr ""
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid ""
1331 "This option modifies I<RuntimeMaxSec=> by increasing the maximum runtime by "
1332 "an evenly distributed duration between 0 and the specified value (in seconds)"
1333 "\\&. If I<RuntimeMaxSec=> is unspecified, then this feature will be "
1334 "disabled\\&."
1335 msgstr ""
1336
1337 #. type: Plain text
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 msgid "I<WatchdogSec=>"
1341 msgstr ""
1342
1343 #. type: Plain text
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 msgid ""
1347 "Configures the watchdog timeout for a service\\&. The watchdog is activated "
1348 "when the start-up is completed\\&. The service must call B<sd_notify>(3) "
1349 "regularly with \"WATCHDOG=1\" (i\\&.e\\&. the \"keep-alive ping\")\\&. If "
1350 "the time between two such calls is larger than the configured time, then the "
1351 "service is placed in a failed state and it will be terminated with "
1352 "B<SIGABRT> (or the signal specified by I<WatchdogSignal=>)\\&. By setting "
1353 "I<Restart=> to B<on-failure>, B<on-watchdog>, B<on-abnormal> or B<always>, "
1354 "the service will be automatically restarted\\&. The time configured here "
1355 "will be passed to the executed service process in the I<WATCHDOG_USEC=> "
1356 "environment variable\\&. This allows daemons to automatically enable the "
1357 "keep-alive pinging logic if watchdog support is enabled for the service\\&. "
1358 "If this option is used, I<NotifyAccess=> (see below) should be set to open "
1359 "access to the notification socket provided by systemd\\&. If "
1360 "I<NotifyAccess=> is not set, it will be implicitly set to B<main>\\&. "
1361 "Defaults to 0, which disables this feature\\&. The service can check whether "
1362 "the service manager expects watchdog keep-alive notifications\\&. See "
1363 "B<sd_watchdog_enabled>(3) for details\\&. B<sd_event_set_watchdog>(3) may "
1364 "be used to enable automatic watchdog notification support\\&."
1365 msgstr ""
1366
1367 #. type: Plain text
1368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1370 msgid "I<Restart=>"
1371 msgstr ""
1372
1373 #. type: Plain text
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1376 msgid ""
1377 "Configures whether the service shall be restarted when the service process "
1378 "exits, is killed, or a timeout is reached\\&. The service process may be the "
1379 "main service process, but it may also be one of the processes specified with "
1380 "I<ExecStartPre=>, I<ExecStartPost=>, I<ExecStop=>, I<ExecStopPost=>, or "
1381 "I<ExecReload=>\\&. When the death of the process is a result of systemd "
1382 "operation (e\\&.g\\&. service stop or restart), the service will not be "
1383 "restarted\\&. Timeouts include missing the watchdog \"keep-alive ping\" "
1384 "deadline and a service start, reload, and stop operation timeouts\\&."
1385 msgstr ""
1386
1387 #. type: Plain text
1388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1390 msgid ""
1391 "Takes one of B<no>, B<on-success>, B<on-failure>, B<on-abnormal>, B<on-"
1392 "watchdog>, B<on-abort>, or B<always>\\&. If set to B<no> (the default), the "
1393 "service will not be restarted\\&. If set to B<on-success>, it will be "
1394 "restarted only when the service process exits cleanly\\&. In this context, a "
1395 "clean exit means any of the following:"
1396 msgstr ""
1397
1398 #. type: Plain text
1399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1401 msgid "exit code of 0;"
1402 msgstr ""
1403
1404 #. type: Plain text
1405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1407 msgid ""
1408 "for types other than I<Type=oneshot>, one of the signals B<SIGHUP>, "
1409 "B<SIGINT>, B<SIGTERM>, or B<SIGPIPE>;"
1410 msgstr ""
1411
1412 #. type: Plain text
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 msgid "exit statuses and signals specified in I<SuccessExitStatus=>\\&."
1416 msgstr ""
1417
1418 #. type: Plain text
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 msgid ""
1422 "If set to B<on-failure>, the service will be restarted when the process "
1423 "exits with a non-zero exit code, is terminated by a signal (including on "
1424 "core dump, but excluding the aforementioned four signals), when an operation "
1425 "(such as service reload) times out, and when the configured watchdog timeout "
1426 "is triggered\\&. If set to B<on-abnormal>, the service will be restarted "
1427 "when the process is terminated by a signal (including on core dump, "
1428 "excluding the aforementioned four signals), when an operation times out, or "
1429 "when the watchdog timeout is triggered\\&. If set to B<on-abort>, the "
1430 "service will be restarted only if the service process exits due to an "
1431 "uncaught signal not specified as a clean exit status\\&. If set to B<on-"
1432 "watchdog>, the service will be restarted only if the watchdog timeout for "
1433 "the service expires\\&. If set to B<always>, the service will be restarted "
1434 "regardless of whether it exited cleanly or not, got terminated abnormally by "
1435 "a signal, or hit a timeout\\&. Note that I<Type=oneshot> services will never "
1436 "be restarted on a clean exit status, i\\&.e\\&. B<always> and B<on-success> "
1437 "are rejected for them\\&."
1438 msgstr ""
1439
1440 #. type: Plain text
1441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1443 msgid ""
1444 "B<Table\\ \\&1.\\ \\&Exit causes and the effect of the >I<Restart=> settings"
1445 msgstr ""
1446
1447 #. type: tbl table
1448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1450 #, no-wrap
1451 msgid "Restart settings/Exit causes"
1452 msgstr ""
1453
1454 #. type: tbl table
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<no>"
1459 msgstr ""
1460
1461 #. type: tbl table
1462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1464 #, no-wrap
1465 msgid "B<always>"
1466 msgstr ""
1467
1468 #. type: tbl table
1469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1471 #, no-wrap
1472 msgid "B<on-success>"
1473 msgstr ""
1474
1475 #. type: tbl table
1476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1478 #, no-wrap
1479 msgid "B<on-failure>"
1480 msgstr ""
1481
1482 #. type: tbl table
1483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1485 #, no-wrap
1486 msgid "B<on-abnormal>"
1487 msgstr ""
1488
1489 #. type: tbl table
1490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1492 #, no-wrap
1493 msgid "B<on-abort>"
1494 msgstr ""
1495
1496 #. type: tbl table
1497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1499 #, no-wrap
1500 msgid "B<on-watchdog>"
1501 msgstr ""
1502
1503 #. type: tbl table
1504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1506 #, no-wrap
1507 msgid ".T&"
1508 msgstr ""
1509
1510 #. type: tbl table
1511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1513 #, no-wrap
1514 msgid "l l l l l l l l"
1515 msgstr ""
1516
1517 #. type: tbl table
1518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1520 #, no-wrap
1521 msgid "l l l l l l l l."
1522 msgstr ""
1523
1524 #. type: tbl table
1525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1527 #, no-wrap
1528 msgid "Clean exit code or signal"
1529 msgstr ""
1530
1531 #. type: tbl table
1532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1534 #, no-wrap
1535 msgid "\\ \\&"
1536 msgstr ""
1537
1538 #. type: tbl table
1539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1541 #, no-wrap
1542 msgid "X"
1543 msgstr ""
1544
1545 #. type: tbl table
1546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1548 #, no-wrap
1549 msgid "Unclean exit code"
1550 msgstr ""
1551
1552 #. type: tbl table
1553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1555 #, no-wrap
1556 msgid "Unclean signal"
1557 msgstr ""
1558
1559 #. type: tbl table
1560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1562 #, no-wrap
1563 msgid "Timeout"
1564 msgstr ""
1565
1566 #. type: tbl table
1567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1569 #, no-wrap
1570 msgid "Watchdog"
1571 msgstr ""
1572
1573 #. type: tbl table
1574 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1575 #: opensuse-tumbleweed
1576 #, no-wrap
1577 msgid "Termination due to OOM"
1578 msgstr ""
1579
1580 #. type: Plain text
1581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1583 msgid ""
1584 "As exceptions to the setting above, the service will not be restarted if the "
1585 "exit code or signal is specified in I<RestartPreventExitStatus=> (see below) "
1586 "or the service is stopped with B<systemctl stop> or an equivalent "
1587 "operation\\&. Also, the services will always be restarted if the exit code "
1588 "or signal is specified in I<RestartForceExitStatus=> (see below)\\&."
1589 msgstr ""
1590
1591 #. type: Plain text
1592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1594 msgid ""
1595 "Note that service restart is subject to unit start rate limiting configured "
1596 "with I<StartLimitIntervalSec=> and I<StartLimitBurst=>, see "
1597 "B<systemd.unit>(5) for details\\&."
1598 msgstr ""
1599
1600 #. type: Plain text
1601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1603 msgid ""
1604 "Setting this to B<on-failure> is the recommended choice for long-running "
1605 "services, in order to increase reliability by attempting automatic recovery "
1606 "from errors\\&. For services that shall be able to terminate on their own "
1607 "choice (and avoid immediate restarting), B<on-abnormal> is an alternative "
1608 "choice\\&."
1609 msgstr ""
1610
1611 #. type: Plain text
1612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1614 msgid "I<RestartMode=>"
1615 msgstr ""
1616
1617 #. type: Plain text
1618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1620 msgid "Takes a string value that specifies how a service should restart:"
1621 msgstr ""
1622
1623 #. type: Plain text
1624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1626 msgid ""
1627 "If set to B<normal> (the default), the service restarts by going through a "
1628 "failed/inactive state\\&."
1629 msgstr ""
1630
1631 #. type: Plain text
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 msgid ""
1635 "If set to B<direct>, the service transitions to the activating state "
1636 "directly during auto-restart, skipping failed/inactive state\\&. "
1637 "I<ExecStopPost=> is still invoked\\&. I<OnSuccess=> and I<OnFailure=> are "
1638 "skipped\\&."
1639 msgstr ""
1640
1641 #. type: Plain text
1642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1644 msgid ""
1645 "This option is useful in cases where a dependency can fail temporarily but "
1646 "we do not want these temporary failures to make the dependent units fail\\&. "
1647 "Dependent units are not notified of these temporary failures\\&."
1648 msgstr ""
1649
1650 #. type: Plain text
1651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1653 msgid ""
1654 "If set to B<debug>, the service manager will log messages that are related "
1655 "to this unit at debug level while automated restarts are attempted, until "
1656 "either the service hits the rate limit or it succeeds, and the "
1657 "I<$DEBUG_INVOCATION=1> environment variable will be set for the unit\\&. "
1658 "This is useful to be able to get additional information when a service fails "
1659 "to start, without needing to proactively or permanently enable debug level "
1660 "logging in systemd, which is very verbose\\&. This is otherwise equivalent "
1661 "to B<normal> mode\\&."
1662 msgstr ""
1663
1664 #. type: Plain text
1665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1667 msgid "Added in version 257\\&."
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 "I<SuccessExitStatus=>"
1674 msgstr ""
1675
1676 #. type: Plain text
1677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1679 msgid ""
1680 "Takes a list of exit status definitions that, when returned by the main "
1681 "service process, will be considered successful termination, in addition to "
1682 "the normal successful exit status 0 and, except for I<Type=oneshot>, the "
1683 "signals B<SIGHUP>, B<SIGINT>, B<SIGTERM>, and B<SIGPIPE>\\&. Exit status "
1684 "definitions can be numeric termination statuses, termination status names, "
1685 "or termination signal names, separated by spaces\\&. See the Process Exit "
1686 "Codes section in B<systemd.exec>(5) for a list of termination status names "
1687 "(for this setting only the part without the \"EXIT_\" or \"EX_\" prefix "
1688 "should be used)\\&. See B<signal>(7) for a list of signal names\\&."
1689 msgstr ""
1690
1691 #. type: Plain text
1692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1694 msgid ""
1695 "Note that this setting does not change the mapping between numeric exit "
1696 "statuses and their names, i\\&.e\\&. regardless how this setting is used 0 "
1697 "will still be mapped to \"SUCCESS\" (and thus typically shown as \"0/"
1698 "SUCCESS\" in tool outputs) and 1 to \"FAILURE\" (and thus typically shown as "
1699 "\"1/FAILURE\"), and so on\\&. It only controls what happens as effect of "
1700 "these exit statuses, and how it propagates to the state of the service as a "
1701 "whole\\&."
1702 msgstr ""
1703
1704 #. type: Plain text
1705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1707 msgid ""
1708 "This option may appear more than once, in which case the list of successful "
1709 "exit statuses is merged\\&. If the empty string is assigned to this option, "
1710 "the list is reset, all prior assignments of this option will have no "
1711 "effect\\&."
1712 msgstr ""
1713
1714 #. type: Plain text
1715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1717 msgid ""
1718 "B<Example\\ \\&1.\\ \\&A service with the >I<SuccessExitStatus=> setting"
1719 msgstr ""
1720
1721 #. type: Plain text
1722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1724 #, no-wrap
1725 msgid "SuccessExitStatus=TEMPFAIL 250 SIGKILL\n"
1726 msgstr ""
1727
1728 #. type: Plain text
1729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1731 msgid ""
1732 "Exit status 75 (B<TEMPFAIL>), 250, and the termination signal B<SIGKILL> are "
1733 "considered clean service terminations\\&."
1734 msgstr ""
1735
1736 #. type: Plain text
1737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1739 msgid ""
1740 "Note: B<systemd-analyze exit-status> may be used to list exit statuses and "
1741 "translate between numerical status values and names\\&."
1742 msgstr ""
1743
1744 #. type: Plain text
1745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1747 msgid "Added in version 189\\&."
1748 msgstr ""
1749
1750 #. type: Plain text
1751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1753 msgid "I<RestartPreventExitStatus=>"
1754 msgstr ""
1755
1756 #. type: Plain text
1757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1759 msgid ""
1760 "Takes a list of exit status definitions that, when returned by the main "
1761 "service process, will prevent automatic service restarts, regardless of the "
1762 "restart setting configured with I<Restart=>\\&. Exit status definitions can "
1763 "be numeric termination statuses, termination status names, or termination "
1764 "signal names, separated by spaces\\&. Defaults to the empty list, so that, "
1765 "by default, no exit status is excluded from the configured restart logic\\&."
1766 msgstr ""
1767
1768 #. type: Plain text
1769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1771 msgid ""
1772 "This option may appear more than once, in which case the list of restart-"
1773 "preventing statuses is merged\\&. If the empty string is assigned to this "
1774 "option, the list is reset and all prior assignments of this option will have "
1775 "no effect\\&."
1776 msgstr ""
1777
1778 #. type: Plain text
1779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1781 msgid ""
1782 "Note that this setting has no effect on processes configured via "
1783 "I<ExecStartPre=>, I<ExecStartPost=>, I<ExecStop=>, I<ExecStopPost=> or "
1784 "I<ExecReload=>, but only on the main service process, i\\&.e\\&. either the "
1785 "one invoked by I<ExecStart=> or (depending on I<Type=>, I<PIDFile=>, \\&...) "
1786 "the otherwise configured main process\\&."
1787 msgstr ""
1788
1789 #. type: Plain text
1790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1792 msgid "I<RestartForceExitStatus=>"
1793 msgstr ""
1794
1795 #. type: Plain text
1796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1798 msgid ""
1799 "Takes a list of exit status definitions that, when returned by the main "
1800 "service process, will force automatic service restarts, regardless of the "
1801 "restart setting configured with I<Restart=>\\&. The argument format is "
1802 "similar to I<RestartPreventExitStatus=>\\&."
1803 msgstr ""
1804
1805 #. type: Plain text
1806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1808 msgid ""
1809 "Note that for I<Type=oneshot> services, a success exit status will prevent "
1810 "them from auto-restarting, no matter whether the corresponding exit statuses "
1811 "are listed in this option or not\\&."
1812 msgstr ""
1813
1814 #. type: Plain text
1815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1817 msgid "Added in version 215\\&."
1818 msgstr ""
1819
1820 #. type: Plain text
1821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1823 msgid "I<RootDirectoryStartOnly=>"
1824 msgstr ""
1825
1826 #. type: Plain text
1827 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1828 msgid ""
1829 "Takes a boolean argument\\&. If true, the root directory, as configured with "
1830 "the I<RootDirectory=> option (see B<systemd.exec>(5) for more information), "
1831 "is only applied to the process started with I<ExecStart=>, and not to the "
1832 "various other I<ExecStartPre=>, I<ExecStartPost=>, I<ExecReload=>, "
1833 "I<ExecReloadPost=>, I<ExecStop=>, and I<ExecStopPost=> commands\\&. If "
1834 "false, the setting is applied to all configured commands the same way\\&. "
1835 "Defaults to false\\&."
1836 msgstr ""
1837
1838 #. type: Plain text
1839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1841 msgid "I<NonBlocking=>"
1842 msgstr ""
1843
1844 #. type: Plain text
1845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1847 msgid ""
1848 "Set the B<O_NONBLOCK> flag for all file descriptors passed via socket-based "
1849 "activation\\&. If true, all file descriptors E<gt>= 3 (i\\&.e\\&. all except "
1850 "stdin, stdout, stderr), excluding those passed in via the file descriptor "
1851 "storage logic (see I<FileDescriptorStoreMax=> for details), will have the "
1852 "B<O_NONBLOCK> flag set and hence are in non-blocking mode\\&. This option is "
1853 "only useful in conjunction with a socket unit, as described in "
1854 "B<systemd.socket>(5) and has no effect on file descriptors which were "
1855 "previously saved in the file-descriptor store for example\\&. Defaults to "
1856 "false\\&."
1857 msgstr ""
1858
1859 #. type: Plain text
1860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1862 msgid ""
1863 "Note that if the same socket unit is configured to be passed to multiple "
1864 "service units (via the I<Sockets=> setting, see below), and these services "
1865 "have different I<NonBlocking=> configurations, the precise state of "
1866 "B<O_NONBLOCK> depends on the order in which these services are invoked, and "
1867 "will possibly change after service code already took possession of the "
1868 "socket file descriptor, simply because the B<O_NONBLOCK> state of a socket "
1869 "is shared by all file descriptors referencing it\\&. Hence it is essential "
1870 "that all services sharing the same socket use the same I<NonBlocking=> "
1871 "configuration, and do not change the flag in service code either\\&."
1872 msgstr ""
1873
1874 #. type: Plain text
1875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1877 msgid "I<NotifyAccess=>"
1878 msgstr ""
1879
1880 #. type: Plain text
1881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1883 msgid ""
1884 "Controls access to the service status notification socket, as accessible via "
1885 "the B<sd_notify>(3) call\\&. Takes one of B<none> (the default), B<main>, "
1886 "B<exec> or B<all>\\&. If B<none>, no daemon status updates are accepted from "
1887 "the service processes, all status update messages are ignored\\&. If "
1888 "B<main>, only service updates sent from the main process of the service are "
1889 "accepted\\&. If B<exec>, only service updates sent from any of the main or "
1890 "control processes originating from one of the I<Exec*=> commands are "
1891 "accepted\\&. If B<all>, all services updates from all members of the "
1892 "service\\*(Aqs control group are accepted\\&. This option should be set to "
1893 "open access to the notification socket when using I<Type=notify>/"
1894 "I<Type=notify-reload> or I<WatchdogSec=> (see above)\\&. If those options "
1895 "are used but I<NotifyAccess=> is not configured, it will be implicitly set "
1896 "to B<main>\\&."
1897 msgstr ""
1898
1899 #. type: Plain text
1900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1902 msgid ""
1903 "Note that B<sd_notify()> notifications may be attributed to units correctly "
1904 "only if either the sending process is still around at the time PID 1 "
1905 "processes the message, or if the sending process is explicitly runtime-"
1906 "tracked by the service manager\\&. The latter is the case if the service "
1907 "manager originally forked off the process, i\\&.e\\&. on all processes that "
1908 "match B<main> or B<exec>\\&. Conversely, if an auxiliary process of the unit "
1909 "sends an B<sd_notify()> message and immediately exits, the service manager "
1910 "might not be able to properly attribute the message to the unit, and thus "
1911 "will ignore it, even if I<NotifyAccess=>B<all> is set for it\\&."
1912 msgstr ""
1913
1914 #. type: Plain text
1915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1917 msgid ""
1918 "Hence, to eliminate all race conditions involving lookup of the "
1919 "client\\*(Aqs unit and attribution of notifications to units correctly, "
1920 "B<sd_notify_barrier()> may be used\\&. This call acts as a synchronization "
1921 "point and ensures all notifications sent before this call have been picked "
1922 "up by the service manager when it returns successfully\\&. Use of "
1923 "B<sd_notify_barrier()> is needed for clients which are not invoked by the "
1924 "service manager, otherwise this synchronization mechanism is unnecessary for "
1925 "attribution of notifications to the unit\\&."
1926 msgstr ""
1927
1928 #. type: Plain text
1929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1931 msgid "I<Sockets=>"
1932 msgstr ""
1933
1934 #. type: Plain text
1935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1937 msgid ""
1938 "Specifies the name of the socket units this service shall inherit socket "
1939 "file descriptors from when the service is started\\&. Normally, it should "
1940 "not be necessary to use this setting, as all socket file descriptors whose "
1941 "unit shares the same name as the service (subject to the different unit name "
1942 "suffix of course) are passed to the spawned process\\&."
1943 msgstr ""
1944
1945 #. type: Plain text
1946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1948 msgid ""
1949 "Note that the same socket file descriptors may be passed to multiple "
1950 "processes simultaneously\\&. Also note that a different service may be "
1951 "activated on incoming socket traffic than the one which is ultimately "
1952 "configured to inherit the socket file descriptors\\&. Or, in other words: "
1953 "the I<Service=> setting of \\&.socket units does not have to match the "
1954 "inverse of the I<Sockets=> setting of the \\&.service it refers to\\&."
1955 msgstr ""
1956
1957 #. type: Plain text
1958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1960 msgid ""
1961 "This option may appear more than once, in which case the list of socket "
1962 "units is merged\\&. Note that once set, clearing the list of sockets again "
1963 "(for example, by assigning the empty string to this option) is not "
1964 "supported\\&."
1965 msgstr ""
1966
1967 #. type: Plain text
1968 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1969 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1970 msgid "I<FileDescriptorStoreMax=>"
1971 msgstr ""
1972
1973 #. type: Plain text
1974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1976 msgid ""
1977 "Configure how many file descriptors may be stored in the service manager for "
1978 "the service using B<sd_pid_notify_with_fds>(3)\\*(Aqs \"FDSTORE=1\" "
1979 "messages\\&. This is useful for implementing services that can restart after "
1980 "an explicit request or a crash without losing state\\&. Any open sockets and "
1981 "other file descriptors which should not be closed during the restart may be "
1982 "stored this way\\&. Application state can either be serialized to a file in "
1983 "I<RuntimeDirectory=>, or stored in a B<memfd_create>(2) memory file "
1984 "descriptor\\&. Defaults to 0, i\\&.e\\&. no file descriptors may be stored "
1985 "in the service manager\\&. All file descriptors passed to the service "
1986 "manager from a specific service are passed back to the service\\*(Aqs main "
1987 "process on the next service restart (see B<sd_listen_fds>(3) for details "
1988 "about the precise protocol used and the order in which the file descriptors "
1989 "are passed)\\&. Any file descriptors passed to the service manager are "
1990 "automatically closed when B<POLLHUP> or B<POLLERR> is seen on them, or when "
1991 "the service is fully stopped and no job is queued or being executed for it "
1992 "(the latter can be tweaked with I<FileDescriptorStorePreserve=>, see below)"
1993 "\\&. If this option is used, I<NotifyAccess=> (see above) should be set to "
1994 "open access to the notification socket provided by systemd\\&. If "
1995 "I<NotifyAccess=> is not set, it will be implicitly set to B<main>\\&."
1996 msgstr ""
1997
1998 #. type: Plain text
1999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2001 msgid ""
2002 "The B<fdstore> command of B<systemd-analyze>(1) may be used to list the "
2003 "current contents of a service\\*(Aqs file descriptor store\\&."
2004 msgstr ""
2005
2006 #. type: Plain text
2007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2009 msgid ""
2010 "Note that the service manager will only pass file descriptors contained in "
2011 "the file descriptor store to the service\\*(Aqs own processes, never to "
2012 "other clients via IPC or similar\\&. However, it does allow unprivileged "
2013 "clients to query the list of currently open file descriptors of a "
2014 "service\\&. Sensitive data may hence be safely placed inside the referenced "
2015 "files, but should not be attached to the metadata (e\\&.g\\&. included in "
2016 "filenames) of the stored file descriptors\\&."
2017 msgstr ""
2018
2019 #. type: Plain text
2020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2022 msgid ""
2023 "If this option is set to a non-zero value the I<$FDSTORE> environment "
2024 "variable will be set for processes invoked for this service\\&. See "
2025 "B<systemd.exec>(5) for details\\&."
2026 msgstr ""
2027
2028 #. type: Plain text
2029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2030 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2031 msgid ""
2032 "For further information on the file descriptor store see the \\m[blue]B<File "
2033 "Descriptor Store>\\m[]\\&\\s-2\\u[1]\\d\\s+2 overview\\&."
2034 msgstr ""
2035
2036 #. type: Plain text
2037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2039 msgid "Added in version 219\\&."
2040 msgstr ""
2041
2042 #. type: Plain text
2043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2045 msgid "I<FileDescriptorStorePreserve=>"
2046 msgstr ""
2047
2048 #. type: Plain text
2049 #: archlinux
2050 msgid ""
2051 "Takes one of B<no>, B<yes>, B<restart> and controls when to release the "
2052 "service\\*(Aqs file descriptor store (i\\&.e\\&. when to close the contained "
2053 "file descriptors, if any)\\&. If set to B<no> the file descriptor store is "
2054 "automatically released when the service is stopped; if B<restart> (the "
2055 "default) it is kept around as long as the unit is neither inactive nor "
2056 "failed, or a job is queued for the service, or the service is expected to be "
2057 "restarted\\&. If B<yes> the file descriptor store is kept around and garbage "
2058 "collection of the unit is disabled\\&. The latter is useful to keep entries "
2059 "in the file descriptor store pinned until the unit is removed, the service "
2060 "manager exits, or the file descriptors get B<EPOLLHUP> or B<EPOLLERR>\\&."
2061 msgstr ""
2062
2063 #. type: Plain text
2064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2066 msgid ""
2067 "Use B<systemctl clean --what=fdstore \\&...> to release the file descriptor "
2068 "store explicitly\\&."
2069 msgstr ""
2070
2071 #. type: Plain text
2072 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2073 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2074 msgid "I<USBFunctionDescriptors=>"
2075 msgstr ""
2076
2077 #. type: Plain text
2078 #: archlinux debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
2079 #: opensuse-tumbleweed
2080 msgid ""
2081 "Configure the location of a file containing \\m[blue]B<USB FunctionFS>\\m[]"
2082 "\\&\\s-2\\u[2]\\d\\s+2 descriptors, for implementation of USB gadget "
2083 "functions\\&. This is used only in conjunction with a socket unit with "
2084 "I<ListenUSBFunction=> configured\\&. The contents of this file are written "
2085 "to the ep0 file after it is opened\\&."
2086 msgstr ""
2087
2088 #. type: Plain text
2089 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2090 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2091 msgid "Added in version 227\\&."
2092 msgstr ""
2093
2094 #. type: Plain text
2095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2097 msgid "I<USBFunctionStrings=>"
2098 msgstr ""
2099
2100 #. type: Plain text
2101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2103 msgid ""
2104 "Configure the location of a file containing USB FunctionFS strings\\&. "
2105 "Behavior is similar to I<USBFunctionDescriptors=> above\\&."
2106 msgstr ""
2107
2108 #. type: Plain text
2109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2111 msgid "I<OOMPolicy=>"
2112 msgstr ""
2113
2114 #. type: Plain text
2115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2117 msgid ""
2118 "Configure the out-of-memory (OOM) killing policy for the kernel and the "
2119 "userspace OOM killer B<systemd-oomd.service>(8)\\&. On Linux, when memory "
2120 "becomes scarce to the point that the kernel has trouble allocating memory "
2121 "for itself, it might decide to kill a running process in order to free up "
2122 "memory and reduce memory pressure\\&. Note that systemd-oomd\\&.service is a "
2123 "more flexible solution that aims to prevent out-of-memory situations for the "
2124 "userspace too, not just the kernel, by attempting to terminate services "
2125 "earlier, before the kernel would have to act\\&."
2126 msgstr ""
2127
2128 #. type: Plain text
2129 #: archlinux fedora-44 opensuse-tumbleweed
2130 msgid ""
2131 "This setting takes one of B<continue>, B<stop> or B<kill>\\&. If set to "
2132 "B<continue> and a process in the unit is killed by the OOM killer, this is "
2133 "logged but the unit continues running\\&. If set to B<stop> the event is "
2134 "logged and the unit\\*(Aqs processes are terminated cleanly by the service "
2135 "manager\\&. If set to B<kill> and one of the unit\\*(Aqs processes is killed "
2136 "by the OOM killer the kernel is instructed to kill all remaining processes "
2137 "of the unit too, by setting the memory\\&.oom\\&.group attribute to B<1>; "
2138 "also see kernel page \\m[blue]B<Control Group v2>\\m[]"
2139 "\\&\\s-2\\u[3]\\d\\s+2\\&. In case of both B<stop> and B<kill>, the service "
2140 "ultimately ends up in the B<oom-kill> failed state after which I<Restart=> "
2141 "may apply\\&."
2142 msgstr ""
2143
2144 #. type: Plain text
2145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2147 msgid ""
2148 "Defaults to the setting I<DefaultOOMPolicy=> in B<systemd-system.conf>(5) "
2149 "is set to, except for units where I<Delegate=> is turned on, where it "
2150 "defaults to B<continue>\\&."
2151 msgstr ""
2152
2153 #. type: Plain text
2154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2156 msgid ""
2157 "Use the I<OOMScoreAdjust=> setting to configure whether processes of the "
2158 "unit shall be considered preferred or less preferred candidates for process "
2159 "termination by the Linux OOM killer logic\\&. See B<systemd.exec>(5) for "
2160 "details\\&."
2161 msgstr ""
2162
2163 #. type: Plain text
2164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2166 msgid ""
2167 "This setting also applies to B<systemd-oomd.service>(8)\\&. Similarly to the "
2168 "kernel OOM kills performed by the kernel, this setting determines the state "
2169 "of the unit after B<systemd-oomd> kills a cgroup associated with it\\&."
2170 msgstr ""
2171
2172 #. type: Plain text
2173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2175 msgid "I<OpenFile=>"
2176 msgstr ""
2177
2178 #. type: Plain text
2179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2181 msgid "Takes an argument of the form \"path[I<:fd-name:options>]\", where:"
2182 msgstr ""
2183
2184 #. type: Plain text
2185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2187 msgid ""
2188 "\"path\" is a path to a file or an B<AF_UNIX> socket in the file system;"
2189 msgstr ""
2190
2191 #. type: Plain text
2192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2194 msgid ""
2195 "\"fd-name\" is a name that will be associated with the file descriptor; the "
2196 "name may contain any ASCII character, but must exclude control characters "
2197 "and \":\", and must be at most 255 characters in length; it is optional and, "
2198 "if not provided, defaults to the file name;"
2199 msgstr ""
2200
2201 #. type: Plain text
2202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2204 msgid ""
2205 "\"options\" is a comma-separated list of access options; possible values are "
2206 "\"read-only\", \"append\", \"truncate\", \"graceful\"; if not specified, "
2207 "files will be opened in B<rw> mode; if \"graceful\" is specified, errors "
2208 "during file/socket opening are ignored\\&. Specifying the same option "
2209 "several times is treated as an error\\&."
2210 msgstr ""
2211
2212 #. type: Plain text
2213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2215 msgid ""
2216 "The file or socket is opened by the service manager and the file descriptor "
2217 "is passed to the service\\&. If the path is a socket, we call B<connect()> "
2218 "on it\\&. See B<sd_listen_fds>(3) for more details on how to retrieve these "
2219 "file descriptors\\&."
2220 msgstr ""
2221
2222 #. type: Plain text
2223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2225 msgid ""
2226 "This setting is useful to allow services to access files/sockets that they "
2227 "cannot access themselves (due to running in a separate mount namespace, not "
2228 "having privileges, \\&.\\&.\\&.)\\&."
2229 msgstr ""
2230
2231 #. type: Plain text
2232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2234 msgid ""
2235 "This setting can be specified multiple times, in which case all the "
2236 "specified paths are opened and the file descriptors passed to the "
2237 "service\\&. If the empty string is assigned, the entire list of open files "
2238 "defined prior to this is reset\\&."
2239 msgstr ""
2240
2241 #. type: Plain text
2242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2244 msgid "Added in version 253\\&."
2245 msgstr ""
2246
2247 #. type: Plain text
2248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2250 msgid "I<ReloadSignal=>"
2251 msgstr ""
2252
2253 #. type: Plain text
2254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2256 msgid ""
2257 "Configures the UNIX process signal to send to the service\\*(Aqs main "
2258 "process when asked to reload the service\\*(Aqs configuration\\&. Defaults "
2259 "to B<SIGHUP>\\&. This option has no effect unless I<Type=>B<notify-reload> "
2260 "is used, see above\\&."
2261 msgstr ""
2262
2263 #. type: Plain text
2264 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
2265 msgid "I<RefreshOnReload=>"
2266 msgstr ""
2267
2268 #. type: Plain text
2269 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
2270 msgid ""
2271 "Takes a boolean argument, or a list of resources defined in "
2272 "B<systemd.exec>(5)\\&. Possible values are B<extensions> and B<credentials>, "
2273 "separated by space\\&. Prepending the list with a single tilde character "
2274 "(\"~\") inverts the effect\\&. Defaults to B<extensions>\\&. An empty "
2275 "assignment resets the list to default\\&. If enabled, the corresponding "
2276 "resources (B<ExtensionImages=>/B<ExtensionDirectories=> for B<extensions> "
2277 "and B<LoadCredential=>/B<ImportCredential=>/ B<SetCredential=> (along with "
2278 "their B<Encrypted> counterparts) for B<credentials>) will be refreshed on "
2279 "service reload\\&. If B<yes>, all resources listed above that are used by "
2280 "the service shall be refreshed\\&."
2281 msgstr ""
2282
2283 #. type: Plain text
2284 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
2285 msgid ""
2286 "Specially, if this option is set explicitly, and the respective resources "
2287 "are in use, the service may be reloaded without any actual reload mechanism "
2288 "(B<ExecReload=> or B<Type=notify-reload>) for notifying the main process, in "
2289 "which case the reload is considered complete immediately after refreshing\\&."
2290 msgstr ""
2291
2292 #. type: Plain text
2293 #: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
2294 msgid "Added in version 260\\&."
2295 msgstr ""
2296
2297 #. type: Plain text
2298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2300 msgid ""
2301 "Check B<systemd.unit>(5), B<systemd.exec>(5), and B<systemd.kill>(5) for "
2302 "more settings\\&."
2303 msgstr ""
2304
2305 #. type: SH
2306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2308 #, no-wrap
2309 msgid "COMMAND LINES"
2310 msgstr ""
2311
2312 #. type: Plain text
2313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2315 msgid ""
2316 "This section describes command line parsing and variable and specifier "
2317 "substitutions for I<ExecStart=>, I<ExecStartPre=>, I<ExecStartPost=>, "
2318 "I<ExecReload=>, I<ExecStop=>, I<ExecStopPost=>, and I<ExecCondition=> "
2319 "options\\&."
2320 msgstr ""
2321
2322 #. type: Plain text
2323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2325 msgid ""
2326 "Multiple command lines may be specified by using the relevant setting "
2327 "multiple times\\&."
2328 msgstr ""
2329
2330 #. type: Plain text
2331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2333 msgid ""
2334 "Each command line is unquoted using the rules described in \"Quoting\" "
2335 "section in B<systemd.syntax>(7)\\&. The first item becomes the command to "
2336 "execute, and the subsequent items the arguments\\&."
2337 msgstr ""
2338
2339 #. type: Plain text
2340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2342 msgid ""
2343 "This syntax is inspired by shell syntax, but only the meta-characters and "
2344 "expansions described in the following paragraphs are understood, and the "
2345 "expansion of variables is different\\&. Specifically, redirection using "
2346 "\"E<lt>\", \"E<lt>E<lt>\", \"E<gt>\", and \"E<gt>E<gt>\", pipes using \"|\", "
2347 "running programs in the background using \"&\", and I<other elements of "
2348 "shell syntax are not supported>\\&."
2349 msgstr ""
2350
2351 #. type: Plain text
2352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2354 msgid ""
2355 "The command to execute may contain spaces, but control characters are not "
2356 "allowed\\&."
2357 msgstr ""
2358
2359 #. type: Plain text
2360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2362 msgid "Each command may be prefixed with a number of special characters:"
2363 msgstr ""
2364
2365 #. type: Plain text
2366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2368 msgid "B<Table\\ \\&2.\\ \\&Special executable prefixes>"
2369 msgstr ""
2370
2371 #. type: tbl table
2372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2374 #, no-wrap
2375 msgid "Prefix"
2376 msgstr ""
2377
2378 #. type: tbl table
2379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2381 #, no-wrap
2382 msgid "Effect"
2383 msgstr ""
2384
2385 #. type: tbl table
2386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2388 #, no-wrap
2389 msgid "l l"
2390 msgstr ""
2391
2392 #. type: tbl table
2393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2395 #, no-wrap
2396 msgid "l l."
2397 msgstr ""
2398
2399 #. type: tbl table
2400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2402 #, no-wrap
2403 msgid "@"
2404 msgstr ""
2405
2406 #. type: tbl table
2407 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2408 #: opensuse-tumbleweed
2409 #, no-wrap
2410 msgid "If the executable path is prefixed with \"@\", the second specified token will be passed as B<argv[0]> to the executed process (instead of the actual filename), followed by the further arguments specified, unless \"|\" is also specified, in which case it enables login shell semantics for the shell spawned by prefixing \"-\" to B<argv[0]>\\&."
2411 msgstr ""
2412
2413 #. type: tbl table
2414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2416 #, no-wrap
2417 msgid "-"
2418 msgstr ""
2419
2420 #. type: tbl table
2421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2423 #, no-wrap
2424 msgid "If the executable path is prefixed with \"-\", an exit code of the command normally considered a failure (i\\&.e\\&. non-zero exit status or abnormal exit due to signal) is recorded, but has no further effect and is considered equivalent to success\\&."
2425 msgstr ""
2426
2427 #. type: tbl table
2428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2430 #, no-wrap
2431 msgid ":"
2432 msgstr ""
2433
2434 #. type: tbl table
2435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2437 #, no-wrap
2438 msgid "If the executable path is prefixed with \":\", environment variable substitution (as described below this table) is not applied\\&."
2439 msgstr ""
2440
2441 #. type: tbl table
2442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2444 #, no-wrap
2445 msgid "+"
2446 msgstr ""
2447
2448 #. type: tbl table
2449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2451 #, no-wrap
2452 msgid "If the executable path is prefixed with \"+\" then the process is executed with full privileges\\&. In this mode privilege restrictions configured with I<User=>, I<Group=>, I<CapabilityBoundingSet=> or the various file system namespacing options (such as I<PrivateDevices=>, I<PrivateTmp=>) are not applied to the invoked command line (but still affect any other I<ExecStart=>, I<ExecStop=>, \\&... lines)\\&. However, note that this will not bypass options that apply to the whole control group, such as I<DevicePolicy=>, see B<systemd.resource-control>(5) for the full list\\&."
2453 msgstr ""
2454
2455 #. type: tbl table
2456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2458 #, no-wrap
2459 msgid "!"
2460 msgstr ""
2461
2462 #. type: tbl table
2463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2465 #, no-wrap
2466 msgid "Similar to the \"+\" character discussed above this permits invoking command lines with elevated privileges\\&. However, unlike \"+\" the \"!\" character exclusively alters the effect of I<User=>, I<Group=> and I<SupplementaryGroups=>, i\\&.e\\&. only the stanzas that affect user and group credentials\\&. Note that this setting may be combined with I<DynamicUser=>, in which case a dynamic user/group pair is allocated before the command is invoked, but credential changing is left to the executed process itself\\&."
2467 msgstr ""
2468
2469 #. type: tbl table
2470 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2471 #: opensuse-tumbleweed
2472 #, no-wrap
2473 msgid "|"
2474 msgstr ""
2475
2476 #. type: tbl table
2477 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2478 #: opensuse-tumbleweed
2479 #, no-wrap
2480 msgid "If \"|\" is specified standalone as executable path, invoke the default shell of I<User=>\\&. If specified as a prefix, use the shell (\"-c\") to spawn the executable\\&. When \"@\" is used in conjunction, B<argv[0]> of shell will be prefixed with \"-\" to enable login shell semantics\\&."
2481 msgstr ""
2482
2483 #. type: Plain text
2484 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2485 #: opensuse-tumbleweed
2486 msgid ""
2487 "\"@\", \"|\", \"-\", \":\", and one of \"+\"/\"!\" may be used together and "
2488 "they can appear in any order\\&. However, \"+\" and \"!\" may not be "
2489 "specified at the same time\\&."
2490 msgstr ""
2491
2492 #. type: Plain text
2493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2495 msgid ""
2496 "For each command, the first argument must be either an absolute path to an "
2497 "executable or a simple file name without any slashes\\&. If the command is "
2498 "not a full (absolute) path, it will be resolved to a full path using a fixed "
2499 "search path determined at compilation time\\&. Searched directories include /"
2500 "usr/local/bin/, /usr/bin/, and their sbin/ counterparts (only on systems "
2501 "using split bin/ and sbin/)\\&. It is thus safe to use just the executable "
2502 "name in case of executables located in any of the \"standard\" directories, "
2503 "and an absolute path must be used in other cases\\&. Hint: this search path "
2504 "may be queried using B<systemd-path search-binaries-default>\\&."
2505 msgstr ""
2506
2507 #. type: Plain text
2508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2510 msgid ""
2511 "The command line accepts \"%\" specifiers as described in "
2512 "B<systemd.unit>(5)\\&."
2513 msgstr ""
2514
2515 #. type: Plain text
2516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2518 msgid ""
2519 "An argument solely consisting of \";\" must be escaped, i\\&.e\\&. specified "
2520 "as \"\\e;\"\\&."
2521 msgstr ""
2522
2523 #. type: Plain text
2524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2526 msgid ""
2527 "Basic environment variable substitution is supported\\&. Use \"${FOO}\" as "
2528 "part of a word, or as a word of its own, on the command line, in which case "
2529 "it will be erased and replaced by the exact value of the environment "
2530 "variable (if any) including all whitespace it contains, always resulting in "
2531 "exactly a single argument\\&. Use \"$FOO\" as a separate word on the command "
2532 "line, in which case it will be replaced by the value of the environment "
2533 "variable split at whitespace, resulting in zero or more arguments\\&. For "
2534 "this type of expansion, quotes are respected when splitting into words, and "
2535 "afterwards removed\\&."
2536 msgstr ""
2537
2538 #. type: Plain text
2539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2541 #, no-wrap
2542 msgid ""
2543 "Environment=\"ONE=one\" \\*(AqTWO=two two\\*(Aq\n"
2544 "ExecStart=echo $ONE $TWO ${TWO}\n"
2545 msgstr ""
2546
2547 #. type: Plain text
2548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2550 msgid ""
2551 "This will execute B</bin/echo> with four arguments: \"one\", \"two\", "
2552 "\"two\", and \"two two\"\\&."
2553 msgstr ""
2554
2555 #. type: Plain text
2556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2558 #, no-wrap
2559 msgid ""
2560 "Environment=ONE=\\*(Aqone\\*(Aq \"TWO=\\*(Aqtwo\\ \\&two\\*(Aq\\ \\&too\" THREE=\n"
2561 "ExecStart=/bin/echo ${ONE} ${TWO} ${THREE}\n"
2562 "ExecStart=/bin/echo $ONE $TWO $THREE\n"
2563 msgstr ""
2564
2565 #. type: Plain text
2566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2568 msgid ""
2569 "This results in /bin/echo being called twice, the first time with arguments "
2570 "\"\\*(Aqone\\*(Aq\", \"\\*(Aqtwo\\ \\&two\\*(Aq\\ \\&too\", \"\", and the "
2571 "second time with arguments \"one\", \"two\\ \\&two\", \"too\"\\&."
2572 msgstr ""
2573
2574 #. type: Plain text
2575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2577 msgid ""
2578 "Unless for commands with the special executable prefix \":\", to pass a "
2579 "literal dollar sign, use \"$$\"\\&. Variables whose value is not known at "
2580 "expansion time are treated as empty strings\\&. Note that the first argument "
2581 "(i\\&.e\\&. the program to execute) may not be a variable\\&."
2582 msgstr ""
2583
2584 #. type: Plain text
2585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2587 msgid ""
2588 "Variables to be used in this fashion may be defined through I<Environment=> "
2589 "and I<EnvironmentFile=>\\&. In addition, variables listed in the section "
2590 "\"Environment variables in spawned processes\" in B<systemd.exec>(5), which "
2591 "are considered \"static configuration\", may be used (this includes "
2592 "e\\&.g\\&. I<$USER>, but not I<$TERM>)\\&."
2593 msgstr ""
2594
2595 #. type: Plain text
2596 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2597 #: opensuse-tumbleweed
2598 msgid ""
2599 "Note that shell command lines are not directly supported, and \"|\" invokes "
2600 "the user\\*(Aqs default shell which isn\\*(Aqt deterministic\\&. It\\*(Aqs "
2601 "recommended to specify a shell implementation explicitly if portability is "
2602 "desired\\&. Example:"
2603 msgstr ""
2604
2605 #. type: Plain text
2606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2608 #, no-wrap
2609 msgid "ExecStart=sh -c \\*(Aqdmesg | tac\\*(Aq\n"
2610 msgstr ""
2611
2612 #. type: Plain text
2613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2615 #, no-wrap
2616 msgid ""
2617 "ExecStart=echo one\n"
2618 "ExecStart=echo \"two two\"\n"
2619 msgstr ""
2620
2621 #. type: Plain text
2622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2624 msgid ""
2625 "This will execute B<echo> two times, each time with one argument: \"one\" "
2626 "and \"two two\", respectively\\&. Because two commands are specified, "
2627 "I<Type=oneshot> must be used\\&."
2628 msgstr ""
2629
2630 #. type: Plain text
2631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2633 #, no-wrap
2634 msgid ""
2635 "Type=oneshot\n"
2636 "ExecStart=:echo $USER\n"
2637 "ExecStart=-false\n"
2638 "ExecStart=+:@true $TEST\n"
2639 msgstr ""
2640
2641 #. type: Plain text
2642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2644 msgid ""
2645 "This will execute B</usr/bin/echo> with the literal argument \"$USER\" (\":"
2646 "\" suppresses variable expansion), and then B</usr/bin/false> (the return "
2647 "value will be ignored because \"-\" suppresses checking of the return "
2648 "value), and B</usr/bin/true> (with elevated privileges, with \"$TEST\" as "
2649 "B<argv[0]>)\\&."
2650 msgstr ""
2651
2652 #. type: Plain text
2653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2655 #, no-wrap
2656 msgid ""
2657 "ExecStart=echo / E<gt>/dev/null & \\e; \\e\n"
2658 "ls\n"
2659 msgstr ""
2660
2661 #. type: Plain text
2662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2664 msgid ""
2665 "This will execute B<echo> with five arguments: \"/\", \"E<gt>/dev/null\", "
2666 "\"&\", \";\", and \"ls\"\\&."
2667 msgstr ""
2668
2669 #. type: SH
2670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2672 #, no-wrap
2673 msgid "EXAMPLES"
2674 msgstr ""
2675
2676 #. type: Plain text
2677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2679 msgid "B<Example\\ \\&3.\\ \\&Simple service>"
2680 msgstr ""
2681
2682 #. type: Plain text
2683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2685 msgid ""
2686 "The following unit file creates a service that will execute /usr/sbin/foo-"
2687 "daemon\\&. Since no I<Type=> is specified, the default I<Type=>B<simple> "
2688 "will be assumed\\&. systemd will assume the unit to be started immediately "
2689 "after the program has begun executing\\&."
2690 msgstr ""
2691
2692 #. type: Plain text
2693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2695 #, no-wrap
2696 msgid ""
2697 "[Unit]\n"
2698 "Description=Foo\n"
2699 msgstr ""
2700
2701 #. type: Plain text
2702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2704 #, no-wrap
2705 msgid ""
2706 "[Service]\n"
2707 "ExecStart=/usr/sbin/foo-daemon\n"
2708 msgstr ""
2709
2710 #. type: Plain text
2711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2713 #, no-wrap
2714 msgid ""
2715 "[Install]\n"
2716 "WantedBy=multi-user\\&.target\n"
2717 msgstr ""
2718
2719 #. type: Plain text
2720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2722 msgid ""
2723 "Note that systemd assumes here that the process started by systemd will "
2724 "continue running until the service terminates\\&. If the program daemonizes "
2725 "itself (i\\&.e\\&. forks), please use I<Type=>B<forking> instead\\&."
2726 msgstr ""
2727
2728 #. type: Plain text
2729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2731 msgid ""
2732 "Since no I<ExecStop=> was specified, systemd will send SIGTERM to all "
2733 "processes started from this service, and after a timeout also SIGKILL\\&. "
2734 "This behavior can be modified, see B<systemd.kill>(5) for details\\&."
2735 msgstr ""
2736
2737 #. type: Plain text
2738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2740 msgid ""
2741 "Note that this unit type does not include any type of notification when a "
2742 "service has completed initialization\\&. For this, you should use other unit "
2743 "types, such as I<Type=>B<notify>/I<Type=>B<notify-reload> if the service "
2744 "understands systemd\\*(Aqs notification protocol, I<Type=>B<forking> if the "
2745 "service can background itself or I<Type=>B<dbus> if the unit acquires a DBus "
2746 "name once initialization is complete\\&. See below\\&."
2747 msgstr ""
2748
2749 #. type: Plain text
2750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2752 msgid "B<Example\\ \\&4.\\ \\&Oneshot service>"
2753 msgstr ""
2754
2755 #. type: Plain text
2756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2758 msgid ""
2759 "Sometimes, units should just execute an action without keeping active "
2760 "processes, such as a filesystem check or a cleanup action on boot\\&. For "
2761 "this, I<Type=>B<oneshot> exists\\&. Units of this type will wait until the "
2762 "process specified terminates and then fall back to being inactive\\&. The "
2763 "following unit will perform a cleanup action:"
2764 msgstr ""
2765
2766 #. type: Plain text
2767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2769 #, no-wrap
2770 msgid ""
2771 "[Unit]\n"
2772 "Description=Cleanup old Foo data\n"
2773 msgstr ""
2774
2775 #. type: Plain text
2776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2778 #, no-wrap
2779 msgid ""
2780 "[Service]\n"
2781 "Type=oneshot\n"
2782 "ExecStart=/usr/sbin/foo-cleanup\n"
2783 msgstr ""
2784
2785 #. type: Plain text
2786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2788 msgid ""
2789 "Note that systemd will consider the unit to be in the state \"starting\" "
2790 "until the program has terminated, so ordered dependencies will wait for the "
2791 "program to finish before starting themselves\\&. The unit will revert to the "
2792 "\"inactive\" state after the execution is done, never reaching the "
2793 "\"active\" state\\&. That means another request to start the unit will "
2794 "perform the action again\\&."
2795 msgstr ""
2796
2797 #. type: Plain text
2798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2800 msgid ""
2801 "I<Type=>B<oneshot> are the only service units that may have more than one "
2802 "I<ExecStart=> specified\\&. For units with multiple commands "
2803 "(I<Type=oneshot>), all commands will be run again\\&."
2804 msgstr ""
2805
2806 #. type: Plain text
2807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2809 msgid ""
2810 "For I<Type=oneshot>, I<Restart=>B<always> and I<Restart=>B<on-success> are "
2811 "I<not> allowed\\&."
2812 msgstr ""
2813
2814 #. type: Plain text
2815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2817 msgid "B<Example\\ \\&5.\\ \\&Stoppable oneshot service>"
2818 msgstr ""
2819
2820 #. type: Plain text
2821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2823 msgid ""
2824 "Similarly to the oneshot services, there are sometimes units that need to "
2825 "execute a program to set up something and then execute another to shut it "
2826 "down, but no process remains active while they are considered "
2827 "\"started\"\\&. Network configuration can sometimes fall into this "
2828 "category\\&. Another use case is if a oneshot service shall not be executed "
2829 "each time when they are pulled in as a dependency, but only the first "
2830 "time\\&."
2831 msgstr ""
2832
2833 #. type: Plain text
2834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2836 msgid ""
2837 "For this, systemd knows the setting I<RemainAfterExit=>B<yes>, which causes "
2838 "systemd to consider the unit to be active if the start action exited "
2839 "successfully\\&. This directive can be used with all types, but is most "
2840 "useful with I<Type=>B<oneshot> and I<Type=>B<simple>\\&. With "
2841 "I<Type=>B<oneshot>, systemd waits until the start action has completed "
2842 "before it considers the unit to be active, so dependencies start only after "
2843 "the start action has succeeded\\&. With I<Type=>B<simple>, dependencies will "
2844 "start immediately after the start action has been dispatched\\&. The "
2845 "following unit provides an example for a simple static firewall\\&."
2846 msgstr ""
2847
2848 #. type: Plain text
2849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2851 #, no-wrap
2852 msgid ""
2853 "[Unit]\n"
2854 "Description=Simple firewall\n"
2855 msgstr ""
2856
2857 #. type: Plain text
2858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2860 #, no-wrap
2861 msgid ""
2862 "[Service]\n"
2863 "Type=oneshot\n"
2864 "RemainAfterExit=yes\n"
2865 "ExecStart=/usr/local/sbin/simple-firewall-start\n"
2866 "ExecStop=/usr/local/sbin/simple-firewall-stop\n"
2867 msgstr ""
2868
2869 #. type: Plain text
2870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2872 msgid ""
2873 "Since the unit is considered to be running after the start action has "
2874 "exited, invoking B<systemctl start> on that unit again will cause no action "
2875 "to be taken\\&."
2876 msgstr ""
2877
2878 #. type: Plain text
2879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2881 msgid "B<Example\\ \\&6.\\ \\&Traditional forking services>"
2882 msgstr ""
2883
2884 #. type: Plain text
2885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2887 msgid ""
2888 "Many traditional daemons/services background (i\\&.e\\&. fork, daemonize) "
2889 "themselves when starting\\&. Set I<Type=>B<forking> in the service\\*(Aqs "
2890 "unit file to support this mode of operation\\&. systemd will consider the "
2891 "service to be in the process of initialization while the original program is "
2892 "still running\\&. Once it exits successfully and at least a process remains "
2893 "(and I<RemainAfterExit=>B<no>), the service is considered started\\&."
2894 msgstr ""
2895
2896 #. type: Plain text
2897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2899 msgid ""
2900 "Often, a traditional daemon only consists of one process\\&. Therefore, if "
2901 "only one process is left after the original process terminates, systemd will "
2902 "consider that process the main process of the service\\&. In that case, the "
2903 "I<$MAINPID> variable will be available in I<ExecReload=>, I<ExecStop=>, "
2904 "etc\\&."
2905 msgstr ""
2906
2907 #. type: Plain text
2908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2910 msgid ""
2911 "In case more than one process remains, systemd will be unable to determine "
2912 "the main process, so it will not assume there is one\\&. In that case, "
2913 "I<$MAINPID> will not expand to anything\\&. However, if the process decides "
2914 "to write a traditional PID file, systemd will be able to read the main PID "
2915 "from there\\&. Please set I<PIDFile=> accordingly\\&. Note that the daemon "
2916 "should write that file before finishing with its initialization\\&. "
2917 "Otherwise, systemd might try to read the file before it exists\\&."
2918 msgstr ""
2919
2920 #. type: Plain text
2921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2923 msgid ""
2924 "The following example shows a simple daemon that forks and just starts one "
2925 "process in the background:"
2926 msgstr ""
2927
2928 #. type: Plain text
2929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2931 #, no-wrap
2932 msgid ""
2933 "[Unit]\n"
2934 "Description=My Simple Daemon\n"
2935 msgstr ""
2936
2937 #. type: Plain text
2938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2940 #, no-wrap
2941 msgid ""
2942 "[Service]\n"
2943 "Type=forking\n"
2944 "ExecStart=/usr/sbin/my-simple-daemon -d\n"
2945 msgstr ""
2946
2947 #. type: Plain text
2948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2950 msgid ""
2951 "Please see B<systemd.kill>(5) for details on how you can influence the way "
2952 "systemd terminates the service\\&."
2953 msgstr ""
2954
2955 #. type: Plain text
2956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2958 msgid "B<Example\\ \\&7.\\ \\&DBus services>"
2959 msgstr ""
2960
2961 #. type: Plain text
2962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2964 msgid ""
2965 "For services that acquire a name on the DBus system bus, use I<Type=>B<dbus> "
2966 "and set I<BusName=> accordingly\\&. The service should not fork (daemonize)"
2967 "\\&. systemd will consider the service to be initialized once the name has "
2968 "been acquired on the system bus\\&. The following example shows a typical "
2969 "DBus service:"
2970 msgstr ""
2971
2972 #. type: Plain text
2973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2975 #, no-wrap
2976 msgid ""
2977 "[Unit]\n"
2978 "Description=Simple DBus Service\n"
2979 msgstr ""
2980
2981 #. type: Plain text
2982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2984 #, no-wrap
2985 msgid ""
2986 "[Service]\n"
2987 "Type=dbus\n"
2988 "BusName=org\\&.example\\&.simple-dbus-service\n"
2989 "ExecStart=/usr/sbin/simple-dbus-service\n"
2990 msgstr ""
2991
2992 #. type: Plain text
2993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2995 msgid ""
2996 "For I<bus-activatable> services, do not include a [Install] section in the "
2997 "systemd service file, but use the I<SystemdService=> option in the "
2998 "corresponding DBus service file, for example (/usr/share/dbus-1/system-"
2999 "services/org\\&.example\\&.simple-dbus-service\\&.service):"
3000 msgstr ""
3001
3002 #. type: Plain text
3003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3005 #, no-wrap
3006 msgid ""
3007 "[D-BUS Service]\n"
3008 "Name=org\\&.example\\&.simple-dbus-service\n"
3009 "Exec=/usr/sbin/simple-dbus-service\n"
3010 "User=root\n"
3011 "SystemdService=simple-dbus-service\\&.service\n"
3012 msgstr ""
3013
3014 #. type: Plain text
3015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3017 msgid ""
3018 "B<Example\\ \\&8.\\ \\&Services that notify systemd about their "
3019 "initialization>"
3020 msgstr ""
3021
3022 #. type: Plain text
3023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3025 msgid ""
3026 "I<Type=>B<simple> services are really easy to write, but have the major "
3027 "disadvantage of systemd not being able to tell when initialization of the "
3028 "given service is complete\\&. For this reason, systemd supports a simple "
3029 "notification protocol that allows daemons to make systemd aware that they "
3030 "are done initializing\\&. Use I<Type=>B<notify> or I<Type=>B<notify-reload> "
3031 "for this\\&. A typical service file for such a daemon would look like this:"
3032 msgstr ""
3033
3034 #. type: Plain text
3035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3037 #, no-wrap
3038 msgid ""
3039 "[Unit]\n"
3040 "Description=Simple Notifying Service\n"
3041 msgstr ""
3042
3043 #. type: Plain text
3044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3046 #, no-wrap
3047 msgid ""
3048 "[Service]\n"
3049 "Type=notify-reload\n"
3050 "ExecStart=/usr/sbin/simple-notifying-service\n"
3051 msgstr ""
3052
3053 #. type: Plain text
3054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3056 msgid ""
3057 "Note that the daemon has to support systemd\\*(Aqs notification protocol, "
3058 "else systemd will think the service has not started yet and kill it after a "
3059 "timeout\\&. For an example of how to update daemons to support this protocol "
3060 "transparently, take a look at B<sd_notify>(3)\\&. systemd will consider the "
3061 "unit to be in the \\*(Aqstarting\\*(Aq state until a readiness notification "
3062 "has arrived\\&."
3063 msgstr ""
3064
3065 #. type: Plain text
3066 #: archlinux debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
3067 #: opensuse-tumbleweed
3068 msgid ""
3069 "To avoid code duplication, it is preferable to use B<sd_notify>(3) when "
3070 "possible, especially when other APIs provided by B<libsystemd>(3) are also "
3071 "used, but note that the notification protocol is very simple and guaranteed "
3072 "to be stable as per the \\m[blue]B<Interface Portability and Stability "
3073 "Promise>\\m[]\\&\\s-2\\u[4]\\d\\s+2, so it can be reimplemented by services "
3074 "with no external dependencies\\&. For a self-contained example, see "
3075 "B<sd_notify>(3)\\&."
3076 msgstr ""
3077
3078 #. type: SH
3079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3081 #, no-wrap
3082 msgid "SEE ALSO"
3083 msgstr ""
3084
3085 #. type: Plain text
3086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3088 msgid ""
3089 "B<systemd>(1), B<systemctl>(1), B<systemd-system.conf>(5), "
3090 "B<systemd.unit>(5), B<systemd.exec>(5), B<systemd.resource-control>(5), "
3091 "B<systemd.kill>(5), B<systemd.directives>(7), B<systemd-run>(1)"
3092 msgstr ""
3093
3094 #. type: SH
3095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3097 #, no-wrap
3098 msgid "NOTES"
3099 msgstr ""
3100
3101 #. type: IP
3102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3104 #, no-wrap
3105 msgid " 1."
3106 msgstr ""
3107
3108 #. type: Plain text
3109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3111 msgid "File Descriptor Store"
3112 msgstr ""
3113
3114 #. type: Plain text
3115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3117 msgid "\\%https://systemd.io/FILE_DESCRIPTOR_STORE"
3118 msgstr ""
3119
3120 #. type: IP
3121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3123 #, no-wrap
3124 msgid " 2."
3125 msgstr ""
3126
3127 #. type: Plain text
3128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3130 msgid "USB FunctionFS"
3131 msgstr ""
3132
3133 #. type: Plain text
3134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3136 msgid "\\%https://docs.kernel.org/usb/functionfs.html"
3137 msgstr ""
3138
3139 #. type: IP
3140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3142 #, no-wrap
3143 msgid " 3."
3144 msgstr ""
3145
3146 #. type: Plain text
3147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3149 msgid "Control Group v2"
3150 msgstr ""
3151
3152 #. type: Plain text
3153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3155 msgid "\\%https://docs.kernel.org/admin-guide/cgroup-v2.html"
3156 msgstr ""
3157
3158 #. type: IP
3159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3161 #, no-wrap
3162 msgid " 4."
3163 msgstr ""
3164
3165 #. type: Plain text
3166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3168 msgid "Interface Portability and Stability Promise"
3169 msgstr ""
3170
3171 #. type: Plain text
3172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3174 msgid "\\%https://systemd.io/PORTABILITY_AND_STABILITY/"
3175 msgstr ""
3176
3177 #. type: TH
3178 #: debian-trixie opensuse-leap-16-1
3179 #, no-wrap
3180 msgid "systemd 257.13"
3181 msgstr ""
3182
3183 #. type: Plain text
3184 #: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
3185 msgid ""
3186 "If SysV init compat is enabled, systemd automatically creates service units "
3187 "that wrap SysV init scripts (the service name is the same as the name of the "
3188 "script, with a \"\\&.service\" suffix added); see B<systemd-sysv-"
3189 "generator>(8)\\&."
3190 msgstr ""
3191
3192 #. type: Plain text
3193 #: debian-trixie mageia-cauldron opensuse-leap-16-1
3194 msgid ""
3195 "Commands to execute to trigger a configuration reload in the service\\&. "
3196 "This argument takes multiple command lines, following the same scheme as "
3197 "described for I<ExecStart=> above\\&. Use of this setting is optional\\&. "
3198 "Specifier and environment variable substitution is supported here following "
3199 "the same scheme as for I<ExecStart=>\\&."
3200 msgstr ""
3201
3202 #. type: Plain text
3203 #: debian-trixie mageia-cauldron opensuse-leap-16-1
3204 msgid ""
3205 "Note however that reloading a daemon by enqueuing a signal (as with the "
3206 "example line above) is usually not a good choice, because this is an "
3207 "asynchronous operation and hence not suitable when ordering reloads of "
3208 "multiple services against each other\\&. It is thus strongly recommended to "
3209 "either use I<Type=>B<notify-reload> in place of I<ExecReload=>, or to set "
3210 "I<ExecReload=> to a command that not only triggers a configuration reload of "
3211 "the daemon, but also synchronously waits for it to complete\\&. For example, "
3212 "B<dbus-broker>(1) uses the following:"
3213 msgstr ""
3214
3215 #. type: Plain text
3216 #: debian-trixie opensuse-leap-16-1
3217 msgid ""
3218 "Note that the start timeout is also applied to service reloads, regardless "
3219 "if implemented through I<ExecReload=> or via the reload logic enabled via "
3220 "I<Type=notify-reload>\\&. If the reload does not complete within the "
3221 "configured time, the reload will be considered failed and the service will "
3222 "continue running with the old configuration\\&. This will not affect the "
3223 "running service, but will be logged and will cause e\\&.g\\&. B<systemctl "
3224 "reload> to fail\\&."
3225 msgstr ""
3226
3227 #. type: Plain text
3228 #: debian-trixie mageia-cauldron opensuse-leap-16-1
3229 msgid ""
3230 "Takes a boolean argument\\&. If true, the root directory, as configured with "
3231 "the I<RootDirectory=> option (see B<systemd.exec>(5) for more information), "
3232 "is only applied to the process started with I<ExecStart=>, and not to the "
3233 "various other I<ExecStartPre=>, I<ExecStartPost=>, I<ExecReload=>, "
3234 "I<ExecStop=>, and I<ExecStopPost=> commands\\&. If false, the setting is "
3235 "applied to all configured commands the same way\\&. Defaults to false\\&."
3236 msgstr ""
3237
3238 #. type: Plain text
3239 #: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
3240 #: opensuse-tumbleweed
3241 msgid ""
3242 "Takes one of B<no>, B<yes>, B<restart> and controls when to release the "
3243 "service\\*(Aqs file descriptor store (i\\&.e\\&. when to close the contained "
3244 "file descriptors, if any)\\&. If set to B<no> the file descriptor store is "
3245 "automatically released when the service is stopped; if B<restart> (the "
3246 "default) it is kept around as long as the unit is neither inactive nor "
3247 "failed, or a job is queued for the service, or the service is expected to be "
3248 "restarted\\&. If B<yes> the file descriptor store is kept around until the "
3249 "unit is removed from memory (i\\&.e\\&. is not referenced anymore and "
3250 "inactive)\\&. The latter is useful to keep entries in the file descriptor "
3251 "store pinned until the service manager exits\\&."
3252 msgstr ""
3253
3254 #. type: Plain text
3255 #: debian-trixie mageia-cauldron opensuse-leap-16-1
3256 msgid ""
3257 "This setting takes one of B<continue>, B<stop> or B<kill>\\&. If set to "
3258 "B<continue> and a process in the unit is killed by the OOM killer, this is "
3259 "logged but the unit continues running\\&. If set to B<stop> the event is "
3260 "logged but the unit is terminated cleanly by the service manager\\&. If set "
3261 "to B<kill> and one of the unit\\*(Aqs processes is killed by the OOM killer "
3262 "the kernel is instructed to kill all remaining processes of the unit too, by "
3263 "setting the memory\\&.oom\\&.group attribute to B<1>; also see kernel page "
3264 "\\m[blue]B<Control Group v2>\\m[]\\&\\s-2\\u[3]\\d\\s+2\\&."
3265 msgstr ""
3266
3267 #. type: tbl table
3268 #: debian-trixie opensuse-leap-16-1
3269 #, no-wrap
3270 msgid "If the executable path is prefixed with \"@\", the second specified token will be passed as B<argv[0]> to the executed process (instead of the actual filename), followed by the further arguments specified\\&."
3271 msgstr ""
3272
3273 #. type: tbl table
3274 #: debian-trixie opensuse-leap-16-1
3275 #, no-wrap
3276 msgid "!!"
3277 msgstr ""
3278
3279 #. type: tbl table
3280 #: debian-trixie opensuse-leap-16-1
3281 #, no-wrap
3282 msgid "This prefix is very similar to \"!\", however it only has an effect on systems lacking support for ambient process capabilities, i\\&.e\\&. without support for I<AmbientCapabilities=>\\&. It\\*(Aqs intended to be used for unit files that take benefit of ambient capabilities to run processes with minimal privileges wherever possible while remaining compatible with systems that lack ambient capabilities support\\&. Note that when \"!!\" is used, and a system lacking ambient capability support is detected any configured I<SystemCallFilter=> and I<CapabilityBoundingSet=> stanzas are implicitly modified, in order to permit spawned processes to drop credentials and capabilities themselves, even if this is configured to not be allowed\\&. Moreover, if this prefix is used and a system lacking ambient capability support is detected I<AmbientCapabilities=> will be skipped and not be applied\\&. On systems supporting ambient capabilities, \"!!\" has no effect and is redundant\\&."
3283 msgstr ""
3284
3285 #. type: Plain text
3286 #: debian-trixie opensuse-leap-16-1
3287 msgid ""
3288 "\"@\", \"-\", \":\", and one of \"+\"/\"!\"/\"!!\" may be used together and "
3289 "they can appear in any order\\&. However, only one of \"+\", \"!\", \"!!\" "
3290 "may be used at a time\\&."
3291 msgstr ""
3292
3293 #. type: Plain text
3294 #: debian-trixie opensuse-leap-16-1
3295 msgid ""
3296 "Note that shell command lines are not directly supported\\&. If shell "
3297 "command lines are to be used, they need to be passed explicitly to a shell "
3298 "implementation of some kind\\&. Example:"
3299 msgstr ""
3300
3301 #. type: TH
3302 #: debian-unstable
3303 #, no-wrap
3304 msgid "systemd 261~rc3"
3305 msgstr ""
3306
3307 #. type: Plain text
3308 #: debian-unstable
3309 msgid ""
3310 "Note that an I<ExecCondition=> skip is I<not> equivalent to a unit-level "
3311 "I<Condition\\&...=> or I<Assert\\&...=> check failing\\&. Because "
3312 "I<ExecCondition=> runs as part of the activation transition, a skip causes "
3313 "the unit to transition from B<active> to B<inactive>, and consequently "
3314 "I<SuccessAction=> (see B<systemd.unit>(5)) will be honored\\&. By contrast, "
3315 "I<Condition\\&...=> directives in the \"[Unit]\" section prevent activation "
3316 "entirely and therefore do not trigger I<SuccessAction=>\\&."
3317 msgstr ""
3318
3319 #. type: Plain text
3320 #: debian-unstable fedora-rawhide
3321 msgid ""
3322 "Takes one of B<no>, B<yes>, B<restart>, B<on-success> and controls when to "
3323 "release the service\\*(Aqs file descriptor store (i\\&.e\\&. when to close "
3324 "the contained file descriptors, if any)\\&. If set to B<no> the file "
3325 "descriptor store is automatically released when the service is stopped; if "
3326 "B<restart> (the default) it is kept around as long as the unit is neither "
3327 "inactive nor failed, or a job is queued for the service, or the service is "
3328 "expected to be restarted\\&. If B<yes> the file descriptor store is kept "
3329 "around and garbage collection of the unit is disabled\\&. The latter is "
3330 "useful to keep entries in the file descriptor store pinned until the unit is "
3331 "removed, the service manager exits, or the file descriptors get B<EPOLLHUP> "
3332 "or B<EPOLLERR>\\&. If B<on-success> the behaviour is identical to B<yes>, "
3333 "except that the file descriptor store is discarded if the unit enters the "
3334 "permanent \"failed\" state (i\\&.e\\&. once all automated restart attempts "
3335 "driven by I<Restart=> have been exhausted)\\&. The store is preserved across "
3336 "the transitionary failed states that precede each individual auto-restart "
3337 "attempt\\&."
3338 msgstr ""
3339
3340 #. type: Plain text
3341 #: debian-unstable fedora-rawhide
3342 msgid ""
3343 "When set to B<yes> or B<on-success>, and the service is itself running under "
3344 "another service manager (e\\&.g\\&. a service of user@\\&.service, or a "
3345 "payload inside B<systemd-nspawn>(1)), file descriptors pushed into the store "
3346 "are also forwarded one level up via the enveloping manager\\*(Aqs "
3347 "I<$NOTIFY_SOCKET>, tagged with the originating unit id, so that they are "
3348 "preserved across restarts of the inner manager and handed back to the "
3349 "originating unit when it is started again\\&. For this to take effect, the "
3350 "enveloping unit must itself enable I<FileDescriptorStoreMax=> and a non-"
3351 "B<no>/B<restart> value for I<FileDescriptorStorePreserve=>\\&. See the "
3352 "\\m[blue]B<File Descriptor Store>\\m[]\\&\\s-2\\u[1]\\d\\s+2 overview for "
3353 "details\\&."
3354 msgstr ""
3355
3356 #. type: Plain text
3357 #: debian-unstable fedora-rawhide
3358 msgid ""
3359 "Setting this to B<yes> or B<on-success> also ensures the file descriptor "
3360 "store is kept loaded across a \"kexec\"-based reboot on kernels supporting "
3361 "the \\m[blue]B<Live Update Orchestrator>\\m[]\\&\\s-2\\u[2]\\d\\s+2, so that "
3362 "compatible file descriptors (such as B<memfd_create>(2)) are preserved and "
3363 "handed back to the service on the other side\\&. See the \\m[blue]B<File "
3364 "Descriptor Store>\\m[]\\&\\s-2\\u[1]\\d\\s+2 overview for details\\&."
3365 msgstr ""
3366
3367 #. type: Plain text
3368 #: debian-unstable fedora-rawhide
3369 msgid ""
3370 "Configure the location of a file containing \\m[blue]B<USB FunctionFS>\\m[]"
3371 "\\&\\s-2\\u[3]\\d\\s+2 descriptors, for implementation of USB gadget "
3372 "functions\\&. This is used only in conjunction with a socket unit with "
3373 "I<ListenUSBFunction=> configured\\&. The contents of this file are written "
3374 "to the ep0 file after it is opened\\&."
3375 msgstr ""
3376
3377 #. type: Plain text
3378 #: debian-unstable fedora-rawhide
3379 msgid ""
3380 "This setting takes one of B<continue>, B<stop> or B<kill>\\&. If set to "
3381 "B<continue> and a process in the unit is killed by the OOM killer, this is "
3382 "logged but the unit continues running\\&. If set to B<stop> the event is "
3383 "logged and the unit\\*(Aqs processes are terminated cleanly by the service "
3384 "manager\\&. If set to B<kill> and one of the unit\\*(Aqs processes is killed "
3385 "by the OOM killer the kernel is instructed to kill all remaining processes "
3386 "of the unit too, by setting the memory\\&.oom\\&.group attribute to B<1>; "
3387 "also see kernel page \\m[blue]B<Control Group v2>\\m[]"
3388 "\\&\\s-2\\u[4]\\d\\s+2\\&. In case of both B<stop> and B<kill>, the service "
3389 "ultimately ends up in the B<oom-kill> failed state after which I<Restart=> "
3390 "may apply\\&."
3391 msgstr ""
3392
3393 #. type: Plain text
3394 #: debian-unstable fedora-rawhide
3395 msgid ""
3396 "To avoid code duplication, it is preferable to use B<sd_notify>(3) when "
3397 "possible, especially when other APIs provided by B<libsystemd>(3) are also "
3398 "used, but note that the notification protocol is very simple and guaranteed "
3399 "to be stable as per the \\m[blue]B<Interface Portability and Stability "
3400 "Promise>\\m[]\\&\\s-2\\u[5]\\d\\s+2, so it can be reimplemented by services "
3401 "with no external dependencies\\&. For a self-contained example, see "
3402 "B<sd_notify>(3)\\&."
3403 msgstr ""
3404
3405 #. type: Plain text
3406 #: debian-unstable fedora-rawhide
3407 msgid "Live Update Orchestrator"
3408 msgstr ""
3409
3410 #. type: Plain text
3411 #: debian-unstable fedora-rawhide
3412 msgid "\\%https://docs.kernel.org/userspace-api/liveupdate.html"
3413 msgstr ""
3414
3415 #. type: IP
3416 #: debian-unstable fedora-rawhide
3417 #, no-wrap
3418 msgid " 5."
3419 msgstr ""
3420
3421 #. type: TH
3422 #: fedora-44
3423 #, no-wrap
3424 msgid "systemd 259.5"
3425 msgstr ""
3426
3427 #. type: TH
3428 #: fedora-rawhide
3429 #, no-wrap
3430 msgid "systemd 261~rc2"
3431 msgstr ""
3432
3433 #. type: TH
3434 #: mageia-cauldron
3435 #, no-wrap
3436 msgid "systemd 258.7"
3437 msgstr ""
3438
3439 #. type: TH
3440 #: opensuse-tumbleweed
3441 #, no-wrap
3442 msgid "systemd 260.1"
3443 msgstr ""