]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemctl.xml
Print the systemd version in a format that dracut likes
[thirdparty/systemd.git] / man / systemctl.xml
CommitLineData
514094f9 1<?xml version='1.0'?>
7874bcd6 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
681eb9cf
FB
3"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4<!ENTITY % entities SYSTEM "custom-entities.ent" >
5%entities;
6]>
7874bcd6
LP
7
8<!--
572eb058 9 SPDX-License-Identifier: LGPL-2.1+
7874bcd6
LP
10-->
11
21ac6ff1
ZJS
12<refentry id="systemctl"
13 xmlns:xi="http://www.w3.org/2001/XInclude">
7874bcd6 14
4a6022f0
ZJS
15 <refentryinfo>
16 <title>systemctl</title>
17 <productname>systemd</productname>
4a6022f0
ZJS
18 </refentryinfo>
19
20 <refmeta>
21 <refentrytitle>systemctl</refentrytitle>
22 <manvolnum>1</manvolnum>
23 </refmeta>
24
25 <refnamediv>
26 <refname>systemctl</refname>
27 <refpurpose>Control the systemd system and service manager</refpurpose>
28 </refnamediv>
29
30 <refsynopsisdiv>
31 <cmdsynopsis>
32 <command>systemctl</command>
33 <arg choice="opt" rep="repeat">OPTIONS</arg>
34 <arg choice="plain">COMMAND</arg>
da5e955f 35 <arg choice="opt" rep="repeat">UNIT</arg>
4a6022f0
ZJS
36 </cmdsynopsis>
37 </refsynopsisdiv>
38
39 <refsect1>
40 <title>Description</title>
41
a4390b6b
LP
42 <para><command>systemctl</command> may be used to introspect and
43 control the state of the <literal>systemd</literal> system and
44 service manager. Please refer to
4a6022f0 45 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
a4390b6b
LP
46 for an introduction into the basic concepts and functionality this
47 tool manages.</para>
4a6022f0
ZJS
48 </refsect1>
49
50 <refsect1>
51 <title>Options</title>
52
53 <para>The following options are understood:</para>
54
55 <variablelist>
4a6022f0
ZJS
56 <varlistentry>
57 <term><option>-t</option></term>
58 <term><option>--type=</option></term>
59
60 <listitem>
e9dd9f95 61 <para>The argument should be a comma-separated list of unit
20b3f379 62 types such as <option>service</option> and
9b9b3d36
MW
63 <option>socket</option>.
64 </para>
20b3f379
ZJS
65
66 <para>If one of the arguments is a unit type, when listing
7b870f60 67 units, limit display to certain unit types. Otherwise, units
4a6022f0
ZJS
68 of all types will be shown.</para>
69
20b3f379 70 <para>As a special case, if one of the arguments is
4a6022f0
ZJS
71 <option>help</option>, a list of allowed values will be
72 printed and the program will exit.</para>
73 </listitem>
74 </varlistentry>
75
9b9b3d36
MW
76 <varlistentry>
77 <term><option>--state=</option></term>
78
79 <listitem>
e16972e6
ZJS
80 <para>The argument should be a comma-separated list of unit
81 LOAD, SUB, or ACTIVE states. When listing units, show only
a8eaaee7 82 those in the specified states. Use <option>--state=failed</option>
e16972e6
ZJS
83 to show only failed units.</para>
84
85 <para>As a special case, if one of the arguments is
86 <option>help</option>, a list of allowed values will be
87 printed and the program will exit.</para>
9b9b3d36
MW
88 </listitem>
89 </varlistentry>
90
4a6022f0
ZJS
91 <varlistentry>
92 <term><option>-p</option></term>
93 <term><option>--property=</option></term>
94
95 <listitem>
54c31a79 96 <para>When showing unit/job/manager properties with the
ea539eb6
ZJS
97 <command>show</command> command, limit display to properties
98 specified in the argument. The argument should be a
d2bbca68 99 comma-separated list of property names, such as
ea539eb6
ZJS
100 <literal>MainPID</literal>. Unless specified, all known
101 properties are shown. If specified more than once, all
102 properties with the specified names are shown. Shell
103 completion is implemented for property names.</para>
104
105 <para>For the manager itself,
106 <command>systemctl show</command> will show all available
107 properties. Those properties are documented in
108 <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
109 </para>
110
111 <para>Properties for units vary by unit type, so showing any
112 unit (even a non-existent one) is a way to list properties
b938cb90 113 pertaining to this type. Similarly, showing any job will list
ea539eb6
ZJS
114 properties pertaining to all jobs. Properties for units are
115 documented in
116 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
117 and the pages for individual unit types
118 <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
119 <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
120 etc.</para>
4a6022f0
ZJS
121 </listitem>
122 </varlistentry>
123
124 <varlistentry>
125 <term><option>-a</option></term>
126 <term><option>--all</option></term>
127
128 <listitem>
21b587cf
ZJS
129 <para>When listing units with <command>list-units</command>, also show inactive units and
130 units which are following other units. When showing unit/job/manager properties, show all
131 properties regardless whether they are set or not.</para>
132
133 <para>To list all units installed in the file system, use the
a5e4972c 134 <command>list-unit-files</command> command instead.</para>
e9fbae3f
ZJS
135
136 <para>When listing units with <command>list-dependencies</command>, recursively show
137 dependencies of all dependent units (by default only dependencies of target units are
138 shown).</para>
4a6022f0
ZJS
139 </listitem>
140 </varlistentry>
141
1238ee09
LP
142 <varlistentry>
143 <term><option>-r</option></term>
144 <term><option>--recursive</option></term>
145
146 <listitem>
147 <para>When listing units, also show units of local
148 containers. Units of local containers will be prefixed with
149 the container name, separated by a single colon character
150 (<literal>:</literal>).</para>
151 </listitem>
152 </varlistentry>
153
afba4199
ZJS
154 <varlistentry>
155 <term><option>--reverse</option></term>
156
157 <listitem>
158 <para>Show reverse dependencies between units with
f6375e83
ZJS
159 <command>list-dependencies</command>, i.e. follow
160 dependencies of type <varname>WantedBy=</varname>,
161 <varname>RequiredBy=</varname>,
f6375e83
ZJS
162 <varname>PartOf=</varname>, <varname>BoundBy=</varname>,
163 instead of <varname>Wants=</varname> and similar.
afba4199
ZJS
164 </para>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry>
169 <term><option>--after</option></term>
9029f642
JSJ
170
171 <listitem>
172 <para>With <command>list-dependencies</command>, show the
173 units that are ordered before the specified unit. In other
f6375e83
ZJS
174 words, recursively list units following the
175 <varname>After=</varname> dependency.</para>
176
177 <para>Note that any <varname>After=</varname> dependency is
178 automatically mirrored to create a
179 <varname>Before=</varname> dependency. Temporal dependencies
922d948b 180 may be specified explicitly, but are also created implicitly
f6375e83
ZJS
181 for units which are <varname>WantedBy=</varname> targets
182 (see
183 <citerefentry><refentrytitle>systemd.target</refentrytitle><manvolnum>5</manvolnum></citerefentry>),
184 and as a result of other directives (for example
185 <varname>RequiresMountsFor=</varname>). Both explicitly
186 and implicitly introduced dependencies are shown with
187 <command>list-dependencies</command>.</para>
82948f6c
LP
188
189 <para>When passed to the <command>list-jobs</command> command, for each printed job show which other jobs are
190 waiting for it. May be combined with <option>--before</option> to show both the jobs waiting for each job as
191 well as all jobs each job is waiting for.</para>
9029f642
JSJ
192 </listitem>
193 </varlistentry>
194
195 <varlistentry>
afba4199
ZJS
196 <term><option>--before</option></term>
197
198 <listitem>
9029f642
JSJ
199 <para>With <command>list-dependencies</command>, show the
200 units that are ordered after the specified unit. In other
f6375e83
ZJS
201 words, recursively list units following the
202 <varname>Before=</varname> dependency.</para>
82948f6c
LP
203
204 <para>When passed to the <command>list-jobs</command> command, for each printed job show which other jobs it
205 is waiting for. May be combined with <option>--after</option> to show both the jobs waiting for each job as
206 well as all jobs each job is waiting for.</para>
afba4199
ZJS
207 </listitem>
208 </varlistentry>
209
4a6022f0 210 <varlistentry>
98a6e132 211 <term><option>-l</option></term>
4a6022f0
ZJS
212 <term><option>--full</option></term>
213
214 <listitem>
69d918b0
ZJS
215 <para>Do not ellipsize unit names, process tree entries,
216 journal output, or truncate unit descriptions in the output
217 of <command>status</command>, <command>list-units</command>,
218 <command>list-jobs</command>, and
219 <command>list-timers</command>.</para>
3b3557c4
JS
220 <para>Also, show installation targets in the output of
221 <command>is-enabled</command>.</para>
4a6022f0
ZJS
222 </listitem>
223 </varlistentry>
224
4f9a9105
ZJS
225 <varlistentry>
226 <term><option>--value</option></term>
227
228 <listitem>
229 <para>When printing properties with <command>show</command>,
230 only print the value, and skip the property name and
231 <literal>=</literal>.</para>
232 </listitem>
233 </varlistentry>
234
991f2a39
ZJS
235 <varlistentry>
236 <term><option>--show-types</option></term>
237
238 <listitem>
239 <para>When showing sockets, show the type of the socket.</para>
240 </listitem>
241 </varlistentry>
242
23ade460 243 <varlistentry>
4dc5b821 244 <term><option>--job-mode=</option></term>
23ade460
MS
245
246 <listitem>
e0e009c0
JE
247 <para>When queuing a new job, this option controls how to deal with
248 already queued jobs. It takes one of <literal>fail</literal>,
4dc5b821
LP
249 <literal>replace</literal>,
250 <literal>replace-irreversibly</literal>,
251 <literal>isolate</literal>,
252 <literal>ignore-dependencies</literal>,
253 <literal>ignore-requirements</literal> or
254 <literal>flush</literal>. Defaults to
255 <literal>replace</literal>, except when the
256 <command>isolate</command> command is used which implies the
257 <literal>isolate</literal> job mode.</para>
258
259 <para>If <literal>fail</literal> is specified and a requested
260 operation conflicts with a pending job (more specifically:
261 causes an already pending start job to be reversed into a stop
262 job or vice versa), cause the operation to fail.</para>
263
264 <para>If <literal>replace</literal> (the default) is
265 specified, any conflicting pending job will be replaced, as
266 necessary.</para>
267
268 <para>If <literal>replace-irreversibly</literal> is specified,
269 operate like <literal>replace</literal>, but also mark the new
270 jobs as irreversible. This prevents future conflicting
9a92e77e
DS
271 transactions from replacing these jobs (or even being enqueued
272 while the irreversible jobs are still pending). Irreversible
273 jobs can still be cancelled using the <command>cancel</command>
d60cb656
AJ
274 command. This job mode should be used on any transaction which
275 pulls in <filename>shutdown.target</filename>.</para>
4dc5b821
LP
276
277 <para><literal>isolate</literal> is only valid for start
278 operations and causes all other units to be stopped when the
279 specified unit is started. This mode is always used when the
280 <command>isolate</command> command is used.</para>
281
282 <para><literal>flush</literal> will cause all queued jobs to
283 be canceled when the new job is enqueued.</para>
284
285 <para>If <literal>ignore-dependencies</literal> is specified,
286 then all unit dependencies are ignored for this new job and
287 the operation is executed immediately. If passed, no required
288 units of the unit passed will be pulled in, and no ordering
289 dependencies will be honored. This is mostly a debugging and
290 rescue tool for the administrator and should not be used by
291 applications.</para>
292
293 <para><literal>ignore-requirements</literal> is similar to
b040723e 294 <literal>ignore-dependencies</literal>, but only causes the
4dc5b821 295 requirement dependencies to be ignored, the ordering
2dd67817 296 dependencies will still be honored.</para>
23ade460 297 </listitem>
4a6022f0 298
4a6022f0
ZJS
299 </varlistentry>
300
ac5e3a50
JS
301 <varlistentry>
302 <term><option>--fail</option></term>
303
304 <listitem>
305 <para>Shorthand for <option>--job-mode=</option>fail.</para>
306 <para>When used with the <command>kill</command> command,
307 if no units were killed, the operation results in an error.
308 </para>
309 </listitem>
310 </varlistentry>
311
4a6022f0
ZJS
312 <varlistentry>
313 <term><option>-i</option></term>
314 <term><option>--ignore-inhibitors</option></term>
315
316 <listitem>
81d39f0d
LP
317 <para>When system shutdown or a sleep state is requested, ignore inhibitor locks. Applications can establish
318 inhibitor locks to avoid that certain important operations (such as CD burning or suchlike) are interrupted
319 by system shutdown or a sleep state. Any user may take these locks and privileged users may override these
320 locks. If any locks are taken, shutdown and sleep state requests will normally fail (unless privileged) and a
321 list of active locks is printed. However, if <option>--ignore-inhibitors</option> is specified, the
322 established locks are ignored and not shown, and the operation attempted anyway, possibly requiring
323 additional privileges.</para>
4a6022f0
ZJS
324 </listitem>
325 </varlistentry>
326
1ae17672
ZJS
327 <varlistentry>
328 <term><option>--dry-run</option></term>
329
330 <listitem>
331 <para>Just print what would be done. Currently supported by verbs
332 <command>halt</command>, <command>poweroff</command>, <command>reboot</command>,
6cc2b882
JD
333 <command>kexec</command>, <command>suspend</command>, <command>hibernate</command>,
334 <command>hybrid-sleep</command>, <command>suspend-then-hibernate</command>,
1ae17672
ZJS
335 <command>default</command>, <command>rescue</command>,
336 <command>emergency</command>, and <command>exit</command>.</para>
337 </listitem>
338 </varlistentry>
339
4a6022f0
ZJS
340 <varlistentry>
341 <term><option>-q</option></term>
342 <term><option>--quiet</option></term>
343
344 <listitem>
bbd46aad
ZJS
345 <para>Suppress printing of the results of various commands
346 and also the hints about truncated log lines. This does not
347 suppress output of commands for which the printed output is
348 the only result (like <command>show</command>). Errors are
349 always printed.</para>
4a6022f0
ZJS
350 </listitem>
351 </varlistentry>
352
353 <varlistentry>
354 <term><option>--no-block</option></term>
355
356 <listitem>
357 <para>Do not synchronously wait for the requested operation
7b870f60 358 to finish. If this is not specified, the job will be
4a6022f0 359 verified, enqueued and <command>systemctl</command> will
3d161f99 360 wait until the unit's start-up is completed. By passing this
93a08841
MP
361 argument, it is only verified and enqueued. This option may not be
362 combined with <option>--wait</option>.</para>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry>
367 <term><option>--wait</option></term>
368
369 <listitem>
370 <para>Synchronously wait for started units to terminate again.
371 This option may not be combined with <option>--no-block</option>.
372 Note that this will wait forever if any given unit never terminates
373 (by itself or by getting stopped explicitly); particularly services
374 which use <literal>RemainAfterExit=yes</literal>.</para>
adb6cd9b
FB
375
376 <para>When used with <command>is-system-running</command>, wait
377 until the boot process is completed before returning.</para>
4a6022f0
ZJS
378 </listitem>
379 </varlistentry>
380
88ae7333
ZJS
381 <xi:include href="user-system-options.xml" xpointer="user" />
382 <xi:include href="user-system-options.xml" xpointer="system" />
4a6022f0 383
bef19548
ZJS
384 <varlistentry>
385 <term><option>--failed</option></term>
386
387 <listitem>
388 <para>List units in failed state. This is equivalent to
389 <option>--state=failed</option>.</para>
390 </listitem>
391 </varlistentry>
599b6322 392
4a6022f0
ZJS
393 <varlistentry>
394 <term><option>--no-wall</option></term>
395
396 <listitem>
6324a8a7 397 <para>Do not send wall message before halt, power-off and reboot.</para>
4a6022f0
ZJS
398 </listitem>
399 </varlistentry>
400
401 <varlistentry>
402 <term><option>--global</option></term>
403
404 <listitem>
405 <para>When used with <command>enable</command> and
406 <command>disable</command>, operate on the global user
407 configuration directory, thus enabling or disabling a unit
408 file globally for all future logins of all users.</para>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry>
413 <term><option>--no-reload</option></term>
414
415 <listitem>
416 <para>When used with <command>enable</command> and
417 <command>disable</command>, do not implicitly reload daemon
418 configuration after executing the changes.</para>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry>
423 <term><option>--no-ask-password</option></term>
424
425 <listitem>
426 <para>When used with <command>start</command> and related
427 commands, disables asking for passwords. Background services
428 may require input of a password or passphrase string, for
429 example to unlock system hard disks or cryptographic
430 certificates. Unless this option is specified and the
7b870f60 431 command is invoked from a terminal,
4a6022f0
ZJS
432 <command>systemctl</command> will query the user on the
433 terminal for the necessary secrets. Use this option to
7b870f60 434 switch this behavior off. In this case, the password must be
4a6022f0
ZJS
435 supplied by some other means (for example graphical password
436 agents) or the service might fail. This also disables
437 querying the user for authentication for privileged
438 operations.</para>
439 </listitem>
4a6022f0
ZJS
440 </varlistentry>
441
442 <varlistentry>
443 <term><option>--kill-who=</option></term>
444
445 <listitem>
446 <para>When used with <command>kill</command>, choose which
af7424af
LP
447 processes to send a signal to. Must be one of
448 <option>main</option>, <option>control</option> or
449 <option>all</option> to select whether to kill only the main
450 process, the control process or all processes of the
451 unit. The main process of the unit is the one that defines
452 the life-time of it. A control process of a unit is one that
453 is invoked by the manager to induce state changes of it. For
454 example, all processes started due to the
455 <varname>ExecStartPre=</varname>,
456 <varname>ExecStop=</varname> or
457 <varname>ExecReload=</varname> settings of service units are
458 control processes. Note that there is only one control
459 process per unit at a time, as only one state change is
460 executed at a time. For services of type
b8bde116 461 <varname>Type=forking</varname>, the initial process started
af7424af
LP
462 by the manager for <varname>ExecStart=</varname> is a
463 control process, while the process ultimately forked off by
464 that one is then considered the main process of the unit (if
465 it can be determined). This is different for service units
466 of other types, where the process forked off by the manager
467 for <varname>ExecStart=</varname> is always the main process
b8bde116
JE
468 itself. A service unit consists of zero or one main process,
469 zero or one control process plus any number of additional
af7424af 470 processes. Not all unit types manage processes of these
b8bde116 471 types however. For example, for mount units, control processes
af7424af 472 are defined (which are the invocations of
d31dd62b
FB
473 <filename>&MOUNT_PATH;</filename> and
474 <filename>&UMOUNT_PATH;</filename>), but no main process
af7424af
LP
475 is defined. If omitted, defaults to
476 <option>all</option>.</para>
4a6022f0
ZJS
477 </listitem>
478
479 </varlistentry>
480
481 <varlistentry>
482 <term><option>-s</option></term>
483 <term><option>--signal=</option></term>
484
485 <listitem>
486 <para>When used with <command>kill</command>, choose which
487 signal to send to selected processes. Must be one of the
b938cb90 488 well-known signal specifiers such as <constant>SIGTERM</constant>, <constant>SIGINT</constant> or
7b870f60 489 <constant>SIGSTOP</constant>. If omitted, defaults to
4a6022f0
ZJS
490 <option>SIGTERM</option>.</para>
491 </listitem>
492 </varlistentry>
493
494 <varlistentry>
495 <term><option>-f</option></term>
496 <term><option>--force</option></term>
497
498 <listitem>
499 <para>When used with <command>enable</command>, overwrite
500 any existing conflicting symlinks.</para>
501
39c38ce1
DC
502 <para>When used with <command>edit</command>, create all of the
503 specified units which do not already exist.</para>
504
924e44b4
LP
505 <para>When used with <command>halt</command>, <command>poweroff</command>, <command>reboot</command> or
506 <command>kexec</command>, execute the selected operation without shutting down all units. However, all
507 processes will be killed forcibly and all file systems are unmounted or remounted read-only. This is hence a
508 drastic but relatively safe option to request an immediate reboot. If <option>--force</option> is specified
509 twice for these operations (with the exception of <command>kexec</command>), they will be executed
510 immediately, without terminating any processes or unmounting any file systems. Warning: specifying
511 <option>--force</option> twice with any of these operations might result in data loss. Note that when
512 <option>--force</option> is specified twice the selected operation is executed by
513 <command>systemctl</command> itself, and the system manager is not contacted. This means the command should
6324a8a7 514 succeed even when the system manager has crashed.</para>
4a6022f0
ZJS
515 </listitem>
516 </varlistentry>
517
9ef15026
JS
518 <varlistentry>
519 <term><option>--message=</option></term>
520
521 <listitem>
6324a8a7
LP
522 <para>When used with <command>halt</command>, <command>poweroff</command> or <command>reboot</command>, set a
523 short message explaining the reason for the operation. The message will be logged together with the default
524 shutdown message.</para>
9ef15026
JS
525 </listitem>
526 </varlistentry>
527
57ab2eab
JS
528 <varlistentry>
529 <term><option>--now</option></term>
530
531 <listitem>
532 <para>When used with <command>enable</command>, the units
533 will also be started. When used with <command>disable</command> or
534 <command>mask</command>, the units will also be stopped. The start
535 or stop operation is only carried out when the respective enable or
536 disable operation has been successful.</para>
537 </listitem>
538 </varlistentry>
539
4a6022f0
ZJS
540 <varlistentry>
541 <term><option>--root=</option></term>
542
543 <listitem>
544 <para>When used with
545 <command>enable</command>/<command>disable</command>/<command>is-enabled</command>
9b914a9d
ZJS
546 (and related commands), use the specified root path when looking for unit
547 files. If this option is present, <command>systemctl</command> will operate on
548 the file system directly, instead of communicating with the <command>systemd</command>
549 daemon to carry out changes.</para>
4a6022f0
ZJS
550 </listitem>
551
552 </varlistentry>
553
554 <varlistentry>
555 <term><option>--runtime</option></term>
556
557 <listitem>
1830ac51
MB
558 <para>When used with <command>enable</command>,
559 <command>disable</command>, <command>edit</command>,
560 (and related commands), make changes only temporarily, so
561 that they are lost on the next reboot. This will have the
562 effect that changes are not made in subdirectories of
563 <filename>/etc</filename> but in <filename>/run</filename>,
564 with identical immediate effects, however, since the latter
4a6022f0 565 is lost on reboot, the changes are lost too.</para>
a330b376 566
1830ac51
MB
567 <para>Similarly, when used with
568 <command>set-property</command>, make changes only
569 temporarily, so that they are lost on the next
570 reboot.</para>
4a6022f0
ZJS
571 </listitem>
572 </varlistentry>
573
d309c1c3
LP
574 <varlistentry>
575 <term><option>--preset-mode=</option></term>
576
577 <listitem>
578 <para>Takes one of <literal>full</literal> (the default),
579 <literal>enable-only</literal>,
8d0e0ddd 580 <literal>disable-only</literal>. When used with the
d309c1c3 581 <command>preset</command> or <command>preset-all</command>
8d0e0ddd 582 commands, controls whether units shall be disabled and
d309c1c3
LP
583 enabled according to the preset rules, or only enabled, or
584 only disabled.</para>
585 </listitem>
586 </varlistentry>
587
4a6022f0
ZJS
588 <varlistentry>
589 <term><option>-n</option></term>
590 <term><option>--lines=</option></term>
591
592 <listitem>
d5bf4f9b
LW
593 <para>When used with <command>status</command>, controls the number of journal lines to show, counting from
594 the most recent ones. Takes a positive integer argument, or 0 to disable journal output. Defaults to
4a6022f0
ZJS
595 10.</para>
596 </listitem>
597 </varlistentry>
598
599 <varlistentry>
600 <term><option>-o</option></term>
601 <term><option>--output=</option></term>
602
603 <listitem>
7b870f60 604 <para>When used with <command>status</command>, controls the
4a6022f0 605 formatting of the journal entries that are shown. For the
7b870f60 606 available choices, see
4a6022f0
ZJS
607 <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
608 Defaults to <literal>short</literal>.</para>
609 </listitem>
610 </varlistentry>
611
5bdf2243
JJ
612 <varlistentry>
613 <term><option>--firmware-setup</option></term>
614
615 <listitem>
616 <para>When used with the <command>reboot</command> command,
617 indicate to the system's firmware to boot into setup
618 mode. Note that this is currently only supported on some EFI
619 systems and only if the system was booted in EFI
620 mode.</para>
621 </listitem>
622 </varlistentry>
623
5d0c05e5
LN
624 <varlistentry>
625 <term><option>--plain</option></term>
626
627 <listitem>
7b870f60 628 <para>When used with <command>list-dependencies</command>,
831d3dc8 629 <command>list-units</command> or <command>list-machines</command>,
a20e43c0
MT
630 the output is printed as a list instead of a tree, and the bullet
631 circles are omitted.</para>
5d0c05e5
LN
632 </listitem>
633 </varlistentry>
634
4f50d2ef
ZJS
635 <xi:include href="user-system-options.xml" xpointer="host" />
636 <xi:include href="user-system-options.xml" xpointer="machine" />
637
12f15e59
ZJS
638 <xi:include href="standard-options.xml" xpointer="no-pager" />
639 <xi:include href="standard-options.xml" xpointer="no-legend" />
dfdebb1b
ZJS
640 <xi:include href="standard-options.xml" xpointer="help" />
641 <xi:include href="standard-options.xml" xpointer="version" />
4a6022f0
ZJS
642 </variablelist>
643 </refsect1>
644
645 <refsect1>
646 <title>Commands</title>
647
648 <para>The following commands are understood:</para>
649
27722f96
LN
650 <refsect2>
651 <title>Unit Commands</title>
4a6022f0 652
27722f96
LN
653 <variablelist>
654 <varlistentry>
e92b3655 655 <term><command>list-units</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
4a6022f0 656
27722f96 657 <listitem>
2cdbbc9a
LP
658 <para>List units that <command>systemd</command> currently has in memory. This includes units that are
659 either referenced directly or through a dependency, units that are pinned by applications programmatically,
660 or units that were active in the past and have failed. By default only units which are active, have pending
661 jobs, or have failed are shown; this can be changed with option <option>--all</option>. If one or more
05a98afd
LP
662 <replaceable>PATTERN</replaceable>s are specified, only units matching one of them are shown. The units
663 that are shown are additionally filtered by <option>--type=</option> and <option>--state=</option> if those
664 options are specified.</para>
991f2a39 665
6fdbb3c8
ZJS
666 <para>Produces output similar to
667 <programlisting> UNIT LOAD ACTIVE SUB DESCRIPTION
668 sys-module-fuse.device loaded active plugged /sys/module/fuse
669 -.mount loaded active mounted Root Mount
670 boot-efi.mount loaded active mounted /boot/efi
671 systemd-journald.service loaded active running Journal Service
672 systemd-logind.service loaded active running Login Service
f07b5489
ZJS
673● user@1000.service loaded failed failed User Manager for UID 1000
674
6fdbb3c8
ZJS
675 systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
676
677LOAD = Reflects whether the unit definition was properly loaded.
678ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
679SUB = The low-level unit activation state, values depend on unit type.
680
681123 loaded units listed. Pass --all to see loaded but inactive units, too.
682To show all installed unit files use 'systemctl list-unit-files'.
683 </programlisting>
684 The header and the last unit of a given type are underlined if the
685 terminal supports that. A colored dot is shown next to services which
686 were masked, not found, or otherwise failed.</para>
687
443dee9d 688 <para>The LOAD column shows the load state, one of <constant>loaded</constant>,
c4555ad8
LP
689 <constant>not-found</constant>, <constant>bad-setting</constant>, <constant>error</constant>,
690 <constant>masked</constant>. The ACTIVE columns shows the general unit state, one of
691 <constant>active</constant>, <constant>reloading</constant>, <constant>inactive</constant>,
692 <constant>failed</constant>, <constant>activating</constant>, <constant>deactivating</constant>. The SUB
693 column shows the unit-type-specific detailed state of the unit, possible values vary by unit type. The list
694 of possible LOAD, ACTIVE, and SUB states is not constant and new systemd releases may both add and remove
695 values. <programlisting>systemctl --state=help</programlisting> command maybe be used to display the
696 current set of possible values.</para>
6fdbb3c8 697
27722f96
LN
698 <para>This is the default command.</para>
699 </listitem>
700 </varlistentry>
991f2a39 701
27722f96 702 <varlistentry>
e92b3655 703 <term><command>list-sockets</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
27722f96
LN
704
705 <listitem>
2cdbbc9a
LP
706 <para>List socket units currently in memory, ordered by listening address. If one or more
707 <replaceable>PATTERN</replaceable>s are specified, only socket units matching one of them are
d8fba7c6 708 shown. Produces output similar to
27722f96 709 <programlisting>
991f2a39
ZJS
710LISTEN UNIT ACTIVATES
711/dev/initctl systemd-initctl.socket systemd-initctl.service
1eecafb8 712
991f2a39
ZJS
713[::]:22 sshd.socket sshd.service
714kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
715
9fccdb0f 7165 sockets listed.</programlisting>
27722f96
LN
717 Note: because the addresses might contains spaces, this output
718 is not suitable for programmatic consumption.
719 </para>
720
2cdbbc9a 721 <para>Also see <option>--show-types</option>, <option>--all</option>, and <option>--state=</option>.</para>
27722f96
LN
722 </listitem>
723 </varlistentry>
724
cbb76c29 725 <varlistentry>
e92b3655 726 <term><command>list-timers</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
cbb76c29
LP
727
728 <listitem>
2cdbbc9a
LP
729 <para>List timer units currently in memory, ordered by the time they elapse next. If one or more
730 <replaceable>PATTERN</replaceable>s are specified, only units matching one of them are shown.
3c3fff44 731 Produces output similar to
ccdda955
MS
732 <programlisting>
733NEXT LEFT LAST PASSED UNIT ACTIVATES
734n/a n/a Thu 2017-02-23 13:40:29 EST 3 days ago ureadahead-stop.timer ureadahead-stop.service
735Sun 2017-02-26 18:55:42 EST 1min 14s left Thu 2017-02-23 13:54:44 EST 3 days ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
736Sun 2017-02-26 20:37:16 EST 1h 42min left Sun 2017-02-26 11:56:36 EST 6h ago apt-daily.timer apt-daily.service
737Sun 2017-02-26 20:57:49 EST 2h 3min left Sun 2017-02-26 11:56:36 EST 6h ago snapd.refresh.timer snapd.refresh.service
738 </programlisting>
d8fba7c6 739 </para>
cbb76c29 740
ccdda955
MS
741 <para><emphasis>NEXT</emphasis> shows the next time the timer will run.</para>
742 <para><emphasis>LEFT</emphasis> shows how long till the next time the timer runs.</para>
743 <para><emphasis>LAST</emphasis> shows the last time the timer ran.</para>
7456fa02 744 <para><emphasis>PASSED</emphasis> shows how long has passed since the timer last ran.</para>
ccdda955 745 <para><emphasis>UNIT</emphasis> shows the name of the timer</para>
785889e5 746 <para><emphasis>ACTIVATES</emphasis> shows the name the service the timer activates when it runs.</para>
ccdda955 747
2cdbbc9a 748 <para>Also see <option>--all</option> and <option>--state=</option>.</para>
cbb76c29
LP
749 </listitem>
750 </varlistentry>
751
27722f96 752 <varlistentry>
1eecafb8 753 <term><command>start <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
754
755 <listitem>
756 <para>Start (activate) one or more units specified on the
757 command line.</para>
e3e0314b 758
2cdbbc9a
LP
759 <para>Note that glob patterns operate on the set of primary names of units currently in memory. Units which
760 are not active and are not in a failed state usually are not in memory, and will not be matched by any
1f00eded
LP
761 pattern. In addition, in case of instantiated units, systemd is often unaware of the instance name until
762 the instance has been started. Therefore, using glob patterns with <command>start</command> has limited
763 usefulness. Also, secondary alias names of units are not considered.</para>
27722f96
LN
764 </listitem>
765 </varlistentry>
766 <varlistentry>
1eecafb8 767 <term><command>stop <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
768
769 <listitem>
770 <para>Stop (deactivate) one or more units specified on the
771 command line.</para>
772 </listitem>
773 </varlistentry>
774 <varlistentry>
1eecafb8 775 <term><command>reload <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
776
777 <listitem>
778 <para>Asks all units listed on the command line to reload
779 their configuration. Note that this will reload the
780 service-specific configuration, not the unit configuration
781 file of systemd. If you want systemd to reload the
79640424 782 configuration file of a unit, use the
27722f96
LN
783 <command>daemon-reload</command> command. In other words:
784 for the example case of Apache, this will reload Apache's
785 <filename>httpd.conf</filename> in the web server, not the
786 <filename>apache.service</filename> systemd unit
787 file.</para>
788
789 <para>This command should not be confused with the
d0a3fb75 790 <command>daemon-reload</command> command.</para>
27722f96
LN
791 </listitem>
792
793 </varlistentry>
794 <varlistentry>
1eecafb8 795 <term><command>restart <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
796
797 <listitem>
c4f2aaa4
LP
798 <para>Stop and then start one or more units specified on the command line. If the units are not running
799 yet, they will be started.</para>
800
801 <para>Note that restarting a unit with this command does not necessarily flush out all of the unit's
802 resources before it is started again. For example, the per-service file descriptor storage facility (see
8b247b43 803 <varname>FileDescriptorStoreMax=</varname> in
c4f2aaa4
LP
804 <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>) will
805 remain intact as long as the unit has a job pending, and is only cleared when the unit is fully stopped and
806 no jobs are pending anymore. If it is intended that the file descriptor store is flushed out, too, during a
807 restart operation an explicit <command>systemctl stop</command> command followed by <command>systemctl
808 start</command> should be issued.</para>
27722f96
LN
809 </listitem>
810 </varlistentry>
811 <varlistentry>
1eecafb8 812 <term><command>try-restart <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
813
814 <listitem>
6539dd7c 815 <para>Stop and then start one or more units specified on the
816 command line if the units are running. This does nothing
817 if units are not running.</para>
2fcee0a5
LP
818 <!-- Note that we don't document condrestart here, as that is just compatibility support, and we generally
819 don't document that. -->
27722f96
LN
820 </listitem>
821 </varlistentry>
822 <varlistentry>
1eecafb8 823 <term><command>reload-or-restart <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
824
825 <listitem>
ff946d82
LP
826 <para>Reload one or more units if they support it. If not, stop and then start them instead. If the units
827 are not running yet, they will be started.</para>
27722f96
LN
828 </listitem>
829 </varlistentry>
830 <varlistentry>
1eecafb8 831 <term><command>try-reload-or-restart <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
832
833 <listitem>
ff946d82
LP
834 <para>Reload one or more units if they support it. If not, stop and then start them instead. This does
835 nothing if the units are not running.</para>
2fcee0a5
LP
836 <!-- Note that we don't document force-reload here, as that is just compatibility support, and we generally
837 don't document that. -->
27722f96
LN
838 </listitem>
839 </varlistentry>
840 <varlistentry>
da5e955f 841 <term><command>isolate <replaceable>UNIT</replaceable></command></term>
27722f96
LN
842
843 <listitem>
26adf774
ZJS
844 <para>Start the unit specified on the command line and its dependencies
845 and stop all others, unless they have
846 <option>IgnoreOnIsolate=yes</option> (see
847 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
848 If a unit name with no extension is given, an extension of
507e28d8 849 <literal>.target</literal> will be assumed.</para>
27722f96
LN
850
851 <para>This is similar to changing the runlevel in a
852 traditional init system. The <command>isolate</command>
853 command will immediately stop processes that are not enabled
854 in the new unit, possibly including the graphical
855 environment or terminal you are currently using.</para>
856
857 <para>Note that this is allowed only on units where
858 <option>AllowIsolate=</option> is enabled. See
859 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
860 for details.</para>
861 </listitem>
862 </varlistentry>
863 <varlistentry>
1eecafb8 864 <term><command>kill <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
865
866 <listitem>
867 <para>Send a signal to one or more processes of the
868 unit. Use <option>--kill-who=</option> to select which
0088d631
LP
869 process to kill. Use <option>--signal=</option> to select
870 the signal to send.</para>
27722f96
LN
871 </listitem>
872 </varlistentry>
873 <varlistentry>
1eecafb8 874 <term><command>is-active <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
875
876 <listitem>
877 <para>Check whether any of the specified units are active
6db27428
ZJS
878 (i.e. running). Returns an exit code
879 <constant>0</constant> if at least one is active, or
880 non-zero otherwise. Unless <option>--quiet</option> is
881 specified, this will also print the current unit state to
882 standard output.</para>
27722f96
LN
883 </listitem>
884 </varlistentry>
885 <varlistentry>
1eecafb8 886 <term><command>is-failed <replaceable>PATTERN</replaceable>…</command></term>
27722f96
LN
887
888 <listitem>
6db27428
ZJS
889 <para>Check whether any of the specified units are in a
890 "failed" state. Returns an exit code
891 <constant>0</constant> if at least one has failed,
892 non-zero otherwise. Unless <option>--quiet</option> is
893 specified, this will also print the current unit state to
894 standard output.</para>
27722f96
LN
895 </listitem>
896 </varlistentry>
897 <varlistentry>
1eecafb8 898 <term><command>status</command> <optional><replaceable>PATTERN</replaceable>…|<replaceable>PID</replaceable>…]</optional></term>
27722f96
LN
899
900 <listitem>
901 <para>Show terse runtime status information about one or
902 more units, followed by most recent log data from the
8fcf784d 903 journal. If no units are specified, show system status. If
b8bde116 904 combined with <option>--all</option>, also show the status of
8fcf784d
LP
905 all units (subject to limitations specified with
906 <option>-t</option>). If a PID is passed, show information
907 about the unit the process belongs to.</para>
27722f96
LN
908
909 <para>This function is intended to generate human-readable
e213d1a3 910 output. If you are looking for computer-parsable output,
b938cb90 911 use <command>show</command> instead. By default, this
e213d1a3 912 function only shows 10 lines of output and ellipsizes
4559a721 913 lines to fit in the terminal window. This can be changed
e213d1a3
ZJS
914 with <option>--lines</option> and <option>--full</option>,
915 see above. In addition, <command>journalctl
916 --unit=<replaceable>NAME</replaceable></command> or
917 <command>journalctl
918 --user-unit=<replaceable>NAME</replaceable></command> use
919 a similar filter for messages and might be more
920 convenient.
921 </para>
ab8864eb 922
f95b0be7 923 <para>systemd implicitly loads units as necessary, so just running the <command>status</command> will
ab8864eb
MS
924 attempt to load a file. The command is thus not useful for determining if something was already loaded or
925 not. The units may possibly also be quickly unloaded after the operation is completed if there's no reason
926 to keep it in memory thereafter.
927 </para>
928
929 <example>
930 <title>Example output from systemctl status </title>
931
932 <programlisting>$ systemctl status bluetooth
933● bluetooth.service - Bluetooth service
83ddf5d3 934 Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
ab8864eb
MS
935 Active: active (running) since Wed 2017-01-04 13:54:04 EST; 1 weeks 0 days ago
936 Docs: man:bluetoothd(8)
937 Main PID: 930 (bluetoothd)
938 Status: "Running"
939 Tasks: 1
940 Memory: 648.0K
941 CPU: 435ms
942 CGroup: /system.slice/bluetooth.service
943 └─930 /usr/lib/bluetooth/bluetoothd
944
945Jan 12 10:46:45 example.com bluetoothd[8900]: Not enough free handles to register service
542ca7c9
DR
946Jan 12 10:46:45 example.com bluetoothd[8900]: Current Time Service could not be registered
947Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output error (5)
ab8864eb
MS
948</programlisting>
949
950 <para>The dot ("●") uses color on supported terminals to summarize the unit state at a glance. White
951 indicates an <literal>inactive</literal> or <literal>deactivating</literal> state. Red indicates a
952 <literal>failed</literal> or <literal>error</literal> state and green indicates an
953 <literal>active</literal>, <literal>reloading</literal> or <literal>activating</literal> state.
954 </para>
955
956 <para>The "Loaded:" line in the output will show <literal>loaded</literal> if the unit has been loaded into
957 memory. Other possible values for "Loaded:" include: <literal>error</literal> if there was a problem
c4555ad8
LP
958 loading it, <literal>not-found</literal> if not unit file was found for this unit,
959 <literal>bad-setting</literal> if an essential unit file setting could not be parsed and
960 <literal>masked</literal> if the unit file has been masked. Along with showing the path to the unit file,
961 this line will also show the enablement state. Enabled commands start at boot. See the full table of
962 possible enablement states — including the definition of <literal>masked</literal> — in the documentation
963 for the <command>is-enabled</command> command.
ab8864eb
MS
964 </para>
965
966 <para>The "Active:" line shows active state. The value is usually <literal>active</literal> or
967 <literal>inactive</literal>. Active could mean started, bound, plugged in, etc depending on the unit type.
968 The unit could also be in process of changing states, reporting a state of <literal>activating</literal> or
969 <literal>deactivating</literal>. A special <literal>failed</literal> state is entered when the service
970 failed in some way, such as a crash, exiting with an error code or timing out. If the failed state is
971 entered the cause will be logged for later reference.</para>
972 </example>
973
27722f96
LN
974 </listitem>
975 </varlistentry>
976 <varlistentry>
1eecafb8 977 <term><command>show</command> <optional><replaceable>PATTERN</replaceable>…|<replaceable>JOB</replaceable>…</optional></term>
27722f96
LN
978
979 <listitem>
33d2308c
LP
980 <para>Show properties of one or more units, jobs, or the manager itself. If no argument is specified,
981 properties of the manager will be shown. If a unit name is specified, properties of the unit are shown, and
982 if a job ID is specified, properties of the job are shown. By default, empty properties are suppressed. Use
983 <option>--all</option> to show those too. To select specific properties to show, use
984 <option>--property=</option>. This command is intended to be used whenever computer-parsable output is
985 required. Use <command>status</command> if you are looking for formatted human-readable output.</para>
986
987 <para>Many properties shown by <command>systemctl show</command> map directly to configuration settings of
988 the system and service manager and its unit files. Note that the properties shown by the command are
989 generally more low-level, normalized versions of the original configuration settings and expose runtime
990 state in addition to configuration. For example, properties shown for service units include the service's
991 current main process identifier as <literal>MainPID</literal> (which is runtime state), and time settings
992 are always exposed as properties ending in the <literal>…USec</literal> suffix even if a matching
993 configuration options end in <literal>…Sec</literal>, because microseconds is the normalized time unit used
994 by the system and service manager.</para>
27722f96
LN
995 </listitem>
996 </varlistentry>
e93c33d4 997 <varlistentry>
1eecafb8 998 <term><command>cat <replaceable>PATTERN</replaceable>…</command></term>
27722f96 999
e93c33d4 1000 <listitem>
e4c0fbe5
ZJS
1001 <para>Show backing files of one or more units. Prints the
1002 "fragment" and "drop-ins" (source files) of units. Each
1003 file is preceded by a comment which includes the file
d4a48671
LW
1004 name. Note that this shows the contents of the backing files
1005 on disk, which may not match the system manager's
1006 understanding of these units if any unit files were
1007 updated on disk and the <command>daemon-reload</command>
1008 command wasn't issued since.</para>
e93c33d4
SL
1009 </listitem>
1010 </varlistentry>
27722f96 1011 <varlistentry>
fbf3283b 1012 <term><command>set-property <replaceable>UNIT</replaceable> <replaceable>PROPERTY</replaceable>=<replaceable>VALUE</replaceable>…</command></term>
27722f96
LN
1013
1014 <listitem>
1015 <para>Set the specified unit properties at runtime where
1016 this is supported. This allows changing configuration
3fde5f30 1017 parameter properties such as resource control settings at
27722f96 1018 runtime. Not all properties may be changed at runtime, but
3fde5f30
LP
1019 many resource control settings (primarily those in
1020 <citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>)
fbf3283b 1021 may. The changes are applied immediately, and stored on disk
27722f96 1022 for future boots, unless <option>--runtime</option> is
3fde5f30
LP
1023 passed, in which case the settings only apply until the
1024 next reboot. The syntax of the property assignment follows
27722f96
LN
1025 closely the syntax of assignments in unit files.</para>
1026
1027 <para>Example: <command>systemctl set-property foobar.service CPUShares=777</command></para>
1028
e9fd88f2
FB
1029 <para>If the specified unit appears to be inactive, the
1030 changes will be only stored on disk as described
1031 previously hence they will be effective when the unit will
1032 be started.</para>
1033
27722f96
LN
1034 <para>Note that this command allows changing multiple
1035 properties at the same time, which is preferable over
fbf3283b
ZJS
1036 setting them individually. Like with unit file configuration
1037 settings, assigning an empty list will reset the property.
1038 </para>
27722f96
LN
1039 </listitem>
1040 </varlistentry>
1041
1042 <varlistentry>
1eecafb8 1043 <term><command>help <replaceable>PATTERN</replaceable>…|<replaceable>PID</replaceable>…</command></term>
27722f96
LN
1044
1045 <listitem>
1046 <para>Show manual pages for one or more units, if
1047 available. If a PID is given, the manual pages for the unit
1048 the process belongs to are shown.</para>
1049 </listitem>
1050 </varlistentry>
1051
1052 <varlistentry>
1eecafb8 1053 <term><command>reset-failed [<replaceable>PATTERN</replaceable>…]</command></term>
27722f96
LN
1054
1055 <listitem>
ff946d82
LP
1056 <para>Reset the <literal>failed</literal> state of the specified units, or if no unit name is passed, reset
1057 the state of all units. When a unit fails in some way (i.e. process exiting with non-zero error code,
1058 terminating abnormally or timing out), it will automatically enter the <literal>failed</literal> state and
1059 its exit code and status is recorded for introspection by the administrator until the service is
1060 stopped/re-started or reset with this command.</para>
860cc6df
LP
1061
1062 <para>In addition to resetting the <literal>failed</literal> state of a unit it also resets various other
1063 per-unit properties: the start rate limit counter of all unit types is reset to zero, as is the restart
1064 counter of service units. Thus, if a unit's start limit (as configured with
1065 <varname>StartLimitIntervalSec=</varname>/<varname>StartLimitBurst=</varname>) is hit and the unit refuses
1066 to be started again, use this command to make it startable again.</para>
27722f96
LN
1067 </listitem>
1068 </varlistentry>
1069
1070 <varlistentry>
f6375e83
ZJS
1071 <term>
1072 <command>list-dependencies</command>
da5e955f 1073 <optional><replaceable>UNIT</replaceable></optional>
f6375e83 1074 </term>
27722f96
LN
1075
1076 <listitem>
f6375e83
ZJS
1077 <para>Shows units required and wanted by the specified
1078 unit. This recursively lists units following the
1079 <varname>Requires=</varname>,
f6375e83 1080 <varname>Requisite=</varname>,
fb30c438 1081 <varname>ConsistsOf=</varname>,
f6375e83
ZJS
1082 <varname>Wants=</varname>, <varname>BindsTo=</varname>
1083 dependencies. If no unit is specified,
1084 <filename>default.target</filename> is implied.</para>
1085
1086 <para>By default, only target units are recursively
1087 expanded. When <option>--all</option> is passed, all other
1088 units are recursively expanded as well.</para>
1089
1090 <para>Options <option>--reverse</option>,
1091 <option>--after</option>, <option>--before</option>
1092 may be used to change what types of dependencies
1093 are shown.</para>
ff5bd14b
LP
1094
1095 <para>Note that this command only lists units currently loaded into memory by the service manager. In
1096 particular, this command is not suitable to get a comprehensive list at all reverse dependencies on a
1097 specific unit, as it won't list the dependencies declared by units currently not loaded.</para>
27722f96
LN
1098 </listitem>
1099 </varlistentry>
1100 </variablelist>
1101 </refsect2>
1102
1103 <refsect2>
1104 <title>Unit File Commands</title>
1105
1106 <variablelist>
1107 <varlistentry>
e92b3655 1108 <term><command>list-unit-files</command> <optional><replaceable>PATTERN…</replaceable></optional></term>
27722f96
LN
1109
1110 <listitem>
3990961d
LP
1111 <para>List unit files installed on the system, in combination with their enablement state (as reported by
1112 <command>is-enabled</command>). If one or more <replaceable>PATTERN</replaceable>s are specified, only unit
1113 files whose name matches one of them are shown (patterns matching unit file system paths are not
1114 supported).</para>
27722f96
LN
1115 </listitem>
1116 </varlistentry>
1117
1118 <varlistentry>
da5e955f 1119 <term><command>enable <replaceable>UNIT</replaceable>…</command></term>
1eecafb8 1120 <term><command>enable <replaceable>PATH</replaceable>…</command></term>
27722f96
LN
1121
1122 <listitem>
3990961d
LP
1123 <para>Enable one or more units or unit instances. This will create a set of symlinks, as encoded in the
1124 <literal>[Install]</literal> sections of the indicated unit files. After the symlinks have been created,
1125 the system manager configuration is reloaded (in a way equivalent to <command>daemon-reload</command>), in
1126 order to ensure the changes are taken into account immediately. Note that this does
1127 <emphasis>not</emphasis> have the effect of also starting any of the units being enabled. If this is
1128 desired, combine this command with the <option>--now</option> switch, or invoke <command>start</command>
1129 with appropriate arguments later. Note that in case of unit instance enablement (i.e. enablement of units of
1130 the form <filename>foo@bar.service</filename>), symlinks named the same as instances are created in the
2dd67817 1131 unit configuration directory, however they point to the single template unit file they are instantiated
3990961d
LP
1132 from.</para>
1133
93f07c87
ZJS
1134 <para>This command expects either valid unit names (in which case various unit file directories are
1135 automatically searched for unit files with appropriate names), or absolute paths to unit files (in which
1136 case these files are read directly). If a specified unit file is located outside of the usual unit file
1137 directories, an additional symlink is created, linking it into the unit configuration path, thus ensuring
2f3828e5
ZJS
1138 it is found when requested by commands such as <command>start</command>. The file system where the linked
1139 unit files are located must be accessible when systemd is started (e.g. anything underneath
1140 <filename>/home</filename> or <filename>/var</filename> is not allowed, unless those directories are
1141 located on the root file system).</para>
3990961d
LP
1142
1143 <para>This command will print the file system operations executed. This output may be suppressed by passing
1144 <option>--quiet</option>.
27722f96
LN
1145 </para>
1146
3990961d
LP
1147 <para>Note that this operation creates only the symlinks suggested in the <literal>[Install]</literal>
1148 section of the unit files. While this command is the recommended way to manipulate the unit configuration
1149 directory, the administrator is free to make additional changes manually by placing or removing symlinks
1150 below this directory. This is particularly useful to create configurations that deviate from the suggested
1151 default installation. In this case, the administrator must make sure to invoke
1152 <command>daemon-reload</command> manually as necessary, in order to ensure the changes are taken into
1153 account.
27722f96
LN
1154 </para>
1155
3990961d
LP
1156 <para>Enabling units should not be confused with starting (activating) units, as done by the
1157 <command>start</command> command. Enabling and starting units is orthogonal: units may be enabled without
1158 being started and started without being enabled. Enabling simply hooks the unit into various suggested
1159 places (for example, so that the unit is automatically started on boot or when a particular kind of
1160 hardware is plugged in). Starting actually spawns the daemon process (in case of service units), or binds
1161 the socket (in case of socket units), and so on.</para>
1162
1163 <para>Depending on whether <option>--system</option>, <option>--user</option>, <option>--runtime</option>,
1164 or <option>--global</option> is specified, this enables the unit for the system, for the calling user only,
1d82e6b3
AJ
1165 for only this boot of the system, or for all future logins of all users. Note that in the last case, no
1166 systemd daemon configuration is reloaded.</para>
3990961d
LP
1167
1168 <para>Using <command>enable</command> on masked units is not supported and results in an error.</para>
27722f96
LN
1169 </listitem>
1170 </varlistentry>
1171
1172 <varlistentry>
da5e955f 1173 <term><command>disable <replaceable>UNIT</replaceable>…</command></term>
27722f96
LN
1174
1175 <listitem>
3990961d
LP
1176 <para>Disables one or more units. This removes all symlinks to the unit files backing the specified units
1177 from the unit configuration directory, and hence undoes any changes made by <command>enable</command> or
1178 <command>link</command>. Note that this removes <emphasis>all</emphasis> symlinks to matching unit files,
1179 including manually created symlinks, and not just those actually created by <command>enable</command> or
1180 <command>link</command>. Note that while <command>disable</command> undoes the effect of
1181 <command>enable</command>, the two commands are otherwise not symmetric, as <command>disable</command> may
1182 remove more symlinks than a prior <command>enable</command> invocation of the same unit created.</para>
1183
1184 <para>This command expects valid unit names only, it does not accept paths to unit files.</para>
1185
1186 <para>In addition to the units specified as arguments, all units are disabled that are listed in the
1187 <varname>Also=</varname> setting contained in the <literal>[Install]</literal> section of any of the unit
1188 files being operated on.</para>
1189
1190 <para>This command implicitly reloads the system manager configuration after completing the operation. Note
1191 that this command does not implicitly stop the units that are being disabled. If this is desired, either
1192 combine this command with the <option>--now</option> switch, or invoke the <command>stop</command> command
1193 with appropriate arguments later.</para>
1194
1195 <para>This command will print information about the file system operations (symlink removals)
1196 executed. This output may be suppressed by passing <option>--quiet</option>.
27722f96
LN
1197 </para>
1198
3990961d
LP
1199 <para>This command honors <option>--system</option>, <option>--user</option>, <option>--runtime</option>
1200 and <option>--global</option> in a similar way as <command>enable</command>.</para>
27722f96
LN
1201 </listitem>
1202 </varlistentry>
1203
b619ec8f 1204 <varlistentry>
da5e955f 1205 <term><command>reenable <replaceable>UNIT</replaceable>…</command></term>
b619ec8f
LP
1206
1207 <listitem>
3990961d
LP
1208 <para>Reenable one or more units, as specified on the command line. This is a combination of
1209 <command>disable</command> and <command>enable</command> and is useful to reset the symlinks a unit file is
d903a892 1210 enabled with to the defaults configured in its <literal>[Install]</literal> section. This command expects
1211 a unit name only, it does not accept paths to unit files.</para>
b619ec8f
LP
1212 </listitem>
1213 </varlistentry>
1214
1215 <varlistentry>
da5e955f 1216 <term><command>preset <replaceable>UNIT</replaceable>…</command></term>
b619ec8f
LP
1217
1218 <listitem>
39207373
ZJS
1219 <para>Reset the enable/disable status one or more unit files, as specified on
1220 the command line, to the defaults configured in the preset policy files. This
1221 has the same effect as <command>disable</command> or
1222 <command>enable</command>, depending how the unit is listed in the preset
1223 files.</para>
b619ec8f 1224
39207373
ZJS
1225 <para>Use <option>--preset-mode=</option> to control whether units shall be
1226 enabled and disabled, or only enabled, or only disabled.</para>
1227
1228 <para>If the unit carries no install information, it will be silently ignored
da5e955f 1229 by this command. <replaceable>UNIT</replaceable> must be the real unit name,
d923e42e 1230 any alias names are ignored silently.</para>
b619ec8f 1231
39207373 1232 <para>For more information on the preset policy format, see
b619ec8f 1233 <citerefentry><refentrytitle>systemd.preset</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
39207373 1234 For more information on the concept of presets, please consult the
28a0ad81 1235 <ulink url="https://www.freedesktop.org/wiki/Software/systemd/Preset">Preset</ulink>
b619ec8f
LP
1236 document.</para>
1237 </listitem>
1238 </varlistentry>
1239
1240 <varlistentry>
1241 <term><command>preset-all</command></term>
1242
1243 <listitem>
1244 <para>Resets all installed unit files to the defaults
1245 configured in the preset policy file (see above).</para>
1246
1247 <para>Use <option>--preset-mode=</option> to control
1248 whether units shall be enabled and disabled, or only
1249 enabled, or only disabled.</para>
1250 </listitem>
1251 </varlistentry>
1252
27722f96 1253 <varlistentry>
da5e955f 1254 <term><command>is-enabled <replaceable>UNIT</replaceable>…</command></term>
27722f96
LN
1255
1256 <listitem>
1257 <para>Checks whether any of the specified unit files are
171754aa
ZJS
1258 enabled (as with <command>enable</command>). Returns an
1259 exit code of 0 if at least one is enabled, non-zero
1260 otherwise. Prints the current enable status (see table).
1261 To suppress this output, use <option>--quiet</option>.
3b3557c4 1262 To show installation targets, use <option>--full</option>.
171754aa
ZJS
1263 </para>
1264
1265 <table>
1266 <title>
1267 <command>is-enabled</command> output
1268 </title>
1269
1270 <tgroup cols='3'>
1271 <thead>
1272 <row>
94f099d8
LP
1273 <entry>Name</entry>
1274 <entry>Description</entry>
1275 <entry>Exit Code</entry>
171754aa
ZJS
1276 </row>
1277 </thead>
1278 <tbody>
1279 <row>
1280 <entry><literal>enabled</literal></entry>
5cd8ae31 1281 <entry morerows='1'>Enabled via <filename>.wants/</filename>, <filename>.requires/</filename> or <varname>Alias=</varname> symlinks (permanently in <filename>/etc/systemd/system/</filename>, or transiently in <filename>/run/systemd/system/</filename>).</entry>
171754aa
ZJS
1282 <entry morerows='1'>0</entry>
1283 </row>
1284 <row>
1285 <entry><literal>enabled-runtime</literal></entry>
1286 </row>
1287 <row>
1288 <entry><literal>linked</literal></entry>
48563081 1289 <entry morerows='1'>Made available through one or more symlinks to the unit file (permanently in <filename>/etc/systemd/system/</filename> or transiently in <filename>/run/systemd/system/</filename>), even though the unit file might reside outside of the unit file search path.</entry>
94f099d8 1290 <entry morerows='1'>&gt; 0</entry>
171754aa
ZJS
1291 </row>
1292 <row>
1293 <entry><literal>linked-runtime</literal></entry>
1294 </row>
1295 <row>
1296 <entry><literal>masked</literal></entry>
48563081 1297 <entry morerows='1'>Completely disabled, so that any start operation on it fails (permanently in <filename>/etc/systemd/system/</filename> or transiently in <filename>/run/systemd/systemd/</filename>).</entry>
94f099d8 1298 <entry morerows='1'>&gt; 0</entry>
171754aa
ZJS
1299 </row>
1300 <row>
1301 <entry><literal>masked-runtime</literal></entry>
1302 </row>
1303 <row>
1304 <entry><literal>static</literal></entry>
f4139308 1305 <entry>The unit file is not enabled, and has no provisions for enabling in the <literal>[Install]</literal> unit file section.</entry>
91f0ac7d 1306 <entry>0</entry>
171754aa 1307 </row>
aedd4012
JS
1308 <row>
1309 <entry><literal>indirect</literal></entry>
d9b4b48f 1310 <entry>The unit file itself is not enabled, but it has a non-empty <varname>Also=</varname> setting in the <literal>[Install]</literal> unit file section, listing other unit files that might be enabled, or it has an alias under a different name through a symlink that is not specified in Also=. For template unit file, an instance different than the one specified in <varname>DefaultInstance=</varname> is enabled.</entry>
aedd4012
JS
1311 <entry>0</entry>
1312 </row>
171754aa
ZJS
1313 <row>
1314 <entry><literal>disabled</literal></entry>
f4139308 1315 <entry>The unit file is not enabled, but contains an <literal>[Install]</literal> section with installation instructions.</entry>
94f099d8 1316 <entry>&gt; 0</entry>
171754aa 1317 </row>
f4139308
LP
1318 <row>
1319 <entry><literal>generated</literal></entry>
1320 <entry>The unit file was generated dynamically via a generator tool. See <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>. Generated unit files may not be enabled, they are enabled implicitly by their generator.</entry>
1321 <entry>0</entry>
1322 </row>
e4fca67f
LP
1323 <row>
1324 <entry><literal>transient</literal></entry>
1325 <entry>The unit file has been created dynamically with the runtime API. Transient units may not be enabled.</entry>
1326 <entry>0</entry>
1327 </row>
0ec0deaa
LP
1328 <row>
1329 <entry><literal>bad</literal></entry>
f4139308 1330 <entry>The unit file is invalid or another error occurred. Note that <command>is-enabled</command> will not actually return this state, but print an error message instead. However the unit file listing printed by <command>list-unit-files</command> might show it.</entry>
0ec0deaa
LP
1331 <entry>&gt; 0</entry>
1332 </row>
171754aa
ZJS
1333 </tbody>
1334 </tgroup>
1335 </table>
1336
27722f96
LN
1337 </listitem>
1338 </varlistentry>
1339
27722f96 1340 <varlistentry>
da5e955f 1341 <term><command>mask <replaceable>UNIT</replaceable>…</command></term>
27722f96
LN
1342
1343 <listitem>
3990961d
LP
1344 <para>Mask one or more units, as specified on the command line. This will link these unit files to
1345 <filename>/dev/null</filename>, making it impossible to start them. This is a stronger version of
1346 <command>disable</command>, since it prohibits all kinds of activation of the unit, including enablement
1347 and manual activation. Use this option with care. This honors the <option>--runtime</option> option to only
1348 mask temporarily until the next reboot of the system. The <option>--now</option> option may be used to
1349 ensure that the units are also stopped. This command expects valid unit names only, it does not accept unit
1350 file paths.</para>
27722f96
LN
1351 </listitem>
1352 </varlistentry>
1353
1354 <varlistentry>
da5e955f 1355 <term><command>unmask <replaceable>UNIT</replaceable>…</command></term>
27722f96
LN
1356
1357 <listitem>
3990961d
LP
1358 <para>Unmask one or more unit files, as specified on the command line. This will undo the effect of
1359 <command>mask</command>. This command expects valid unit names only, it does not accept unit file
1360 paths.</para>
27722f96
LN
1361 </listitem>
1362 </varlistentry>
1363
1364 <varlistentry>
1eecafb8 1365 <term><command>link <replaceable>PATH</replaceable>…</command></term>
27722f96
LN
1366
1367 <listitem>
3990961d
LP
1368 <para>Link a unit file that is not in the unit file search paths into the unit file search path. This
1369 command expects an absolute path to a unit file. The effect of this may be undone with
1370 <command>disable</command>. The effect of this command is that a unit file is made available for commands
2f3828e5
ZJS
1371 such as <command>start</command>, even though it is not installed directly in the unit search path. The
1372 file system where the linked unit files are located must be accessible when systemd is started
1373 (e.g. anything underneath <filename>/home</filename> or <filename>/var</filename> is not allowed, unless
1374 those directories are located on the root file system).</para>
27722f96
LN
1375 </listitem>
1376 </varlistentry>
1377
344ca755 1378 <varlistentry>
da5e955f 1379 <term><command>revert <replaceable>UNIT</replaceable>…</command></term>
344ca755
LP
1380
1381 <listitem>
1382 <para>Revert one or more unit files to their vendor versions. This command removes drop-in configuration
1383 files that modify the specified units, as well as any user-configured unit file that overrides a matching
1384 vendor supplied unit file. Specifically, for a unit <literal>foo.service</literal> the matching directories
1385 <literal>foo.service.d/</literal> with all their contained files are removed, both below the persistent and
1386 runtime configuration directories (i.e. below <filename>/etc/systemd/system</filename> and
1387 <filename>/run/systemd/system</filename>); if the unit file has a vendor-supplied version (i.e. a unit file
b17649ee 1388 located below <filename>/usr</filename>) any matching persistent or runtime unit file that overrides it is
344ca755
LP
1389 removed, too. Note that if a unit file has no vendor-supplied version (i.e. is only defined below
1390 <filename>/etc/systemd/system</filename> or <filename>/run/systemd/system</filename>, but not in a unit
1391 file stored below <filename>/usr</filename>), then it is not removed. Also, if a unit is masked, it is
1392 unmasked.</para>
1393
1394 <para>Effectively, this command may be used to undo all changes made with <command>systemctl
1395 edit</command>, <command>systemctl set-property</command> and <command>systemctl mask</command> and puts
1396 the original unit file with its settings back in effect.</para>
1397 </listitem>
1398 </varlistentry>
1399
27722f96 1400 <varlistentry>
b619ec8f 1401 <term><command>add-wants <replaceable>TARGET</replaceable>
da5e955f 1402 <replaceable>UNIT</replaceable>…</command></term>
b619ec8f 1403 <term><command>add-requires <replaceable>TARGET</replaceable>
da5e955f 1404 <replaceable>UNIT</replaceable>…</command></term>
27722f96
LN
1405
1406 <listitem>
853382da 1407 <para>Adds <literal>Wants=</literal> or <literal>Requires=</literal>
a8eaaee7 1408 dependencies, respectively, to the specified
853382da 1409 <replaceable>TARGET</replaceable> for one or more units. </para>
27722f96 1410
b619ec8f
LP
1411 <para>This command honors <option>--system</option>,
1412 <option>--user</option>, <option>--runtime</option> and
a8eaaee7 1413 <option>--global</option> in a way similar to
b619ec8f 1414 <command>enable</command>.</para>
27722f96 1415
27722f96
LN
1416 </listitem>
1417 </varlistentry>
7d4fb3b1
RC
1418
1419 <varlistentry>
da5e955f 1420 <term><command>edit <replaceable>UNIT</replaceable>…</command></term>
7d4fb3b1
RC
1421
1422 <listitem>
1423 <para>Edit a drop-in snippet or a whole replacement file if
1424 <option>--full</option> is specified, to extend or override the
1425 specified unit.</para>
1426
1427 <para>Depending on whether <option>--system</option> (the default),
1428 <option>--user</option>, or <option>--global</option> is specified,
a8eaaee7 1429 this command creates a drop-in file for each unit either for the system,
b938cb90 1430 for the calling user, or for all futures logins of all users. Then,
7d4fb3b1
RC
1431 the editor (see the "Environment" section below) is invoked on
1432 temporary files which will be written to the real location if the
1433 editor exits successfully.</para>
1434
1435 <para>If <option>--full</option> is specified, this will copy the
1436 original units instead of creating drop-in files.</para>
1437
39c38ce1
DC
1438 <para>If <option>--force</option> is specified and any units do
1439 not already exist, new unit files will be opened for editing.</para>
1440
7d4fb3b1
RC
1441 <para>If <option>--runtime</option> is specified, the changes will
1442 be made temporarily in <filename>/run</filename> and they will be
1443 lost on the next reboot.</para>
1444
b938cb90
JE
1445 <para>If the temporary file is empty upon exit, the modification of
1446 the related unit is canceled.</para>
7d4fb3b1
RC
1447
1448 <para>After the units have been edited, systemd configuration is
1449 reloaded (in a way that is equivalent to <command>daemon-reload</command>).
1450 </para>
1451
1452 <para>Note that this command cannot be used to remotely edit units
1453 and that you cannot temporarily edit units which are in
b938cb90 1454 <filename>/etc</filename>, since they take precedence over
7d4fb3b1
RC
1455 <filename>/run</filename>.</para>
1456 </listitem>
1457 </varlistentry>
b619ec8f
LP
1458
1459 <varlistentry>
1460 <term><command>get-default</command></term>
1461
1462 <listitem>
1463 <para>Return the default target to boot into. This returns
1464 the target unit name <filename>default.target</filename>
1465 is aliased (symlinked) to.</para>
1466 </listitem>
1467 </varlistentry>
1468
1469 <varlistentry>
da5e955f 1470 <term><command>set-default <replaceable>TARGET</replaceable></command></term>
b619ec8f
LP
1471
1472 <listitem>
1473 <para>Set the default target to boot into. This sets
1474 (symlinks) the <filename>default.target</filename> alias
1475 to the given target unit.</para>
1476 </listitem>
1477 </varlistentry>
1478
27722f96
LN
1479 </variablelist>
1480 </refsect2>
1481
0d292f5e
LP
1482 <refsect2>
1483 <title>Machine Commands</title>
1484
1485 <variablelist>
1486 <varlistentry>
e92b3655 1487 <term><command>list-machines</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
0d292f5e
LP
1488
1489 <listitem>
1490 <para>List the host and all running local containers with
1491 their state. If one or more
1492 <replaceable>PATTERN</replaceable>s are specified, only
1493 containers matching one of them are shown.
1494 </para>
1495 </listitem>
1496 </varlistentry>
1497 </variablelist>
1498 </refsect2>
1499
27722f96
LN
1500 <refsect2>
1501 <title>Job Commands</title>
1502
1503 <variablelist>
1504 <varlistentry>
1eecafb8 1505 <term><command>list-jobs <optional><replaceable>PATTERN…</replaceable></optional></command></term>
27722f96
LN
1506
1507 <listitem>
d8fba7c6
ZJS
1508 <para>List jobs that are in progress. If one or more
1509 <replaceable>PATTERN</replaceable>s are specified, only
1510 jobs for units matching one of them are shown.</para>
82948f6c
LP
1511
1512 <para>When combined with <option>--after</option> or <option>--before</option> the list is augmented with
1513 information on which other job each job is waiting for, and which other jobs are waiting for it, see
1514 above.</para>
27722f96
LN
1515 </listitem>
1516 </varlistentry>
1517 <varlistentry>
1eecafb8 1518 <term><command>cancel <replaceable>JOB</replaceable>…</command></term>
27722f96
LN
1519
1520 <listitem>
1521 <para>Cancel one or more jobs specified on the command line
1522 by their numeric job IDs. If no job ID is specified, cancel
1523 all pending jobs.</para>
1524 </listitem>
1525 </varlistentry>
1526 </variablelist>
27722f96
LN
1527 </refsect2>
1528
1529 <refsect2>
1530 <title>Environment Commands</title>
1531
1532 <variablelist>
1533 <varlistentry>
1534 <term><command>show-environment</command></term>
1535
1536 <listitem>
804ee07c
ZJS
1537 <para>Dump the systemd manager environment block. This is the environment
1538 block that is passed to all processes the manager spawns. The environment
1539 block will be dumped in straight-forward form suitable for sourcing into
1540 most shells. If no special characters or whitespace is present in the variable
1541 values, no escaping is performed, and the assignments have the form
1542 <literal>VARIABLE=value</literal>. If whitespace or characters which have
1543 special meaning to the shell are present, dollar-single-quote escaping is
1544 used, and assignments have the form <literal>VARIABLE=$'value'</literal>.
1545 This syntax is known to be supported by
1546 <citerefentry project='die-net'><refentrytitle>bash</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1547 <citerefentry project='die-net'><refentrytitle>zsh</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1548 <citerefentry project='die-net'><refentrytitle>ksh</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1549 and
1550 <citerefentry project='die-net'><refentrytitle>busybox</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
1551 <citerefentry project='die-net'><refentrytitle>ash</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
1552 but not
1553 <citerefentry project='die-net'><refentrytitle>dash</refentrytitle><manvolnum>1</manvolnum></citerefentry>
1554 or
1555 <citerefentry project='die-net'><refentrytitle>fish</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
1556 </para>
27722f96
LN
1557 </listitem>
1558 </varlistentry>
1559 <varlistentry>
1eecafb8 1560 <term><command>set-environment <replaceable>VARIABLE=VALUE</replaceable>…</command></term>
27722f96
LN
1561
1562 <listitem>
1563 <para>Set one or more systemd manager environment variables,
1564 as specified on the command line.</para>
1565 </listitem>
1566 </varlistentry>
1567 <varlistentry>
1eecafb8 1568 <term><command>unset-environment <replaceable>VARIABLE</replaceable>…</command></term>
27722f96
LN
1569
1570 <listitem>
1571 <para>Unset one or more systemd manager environment
1572 variables. If only a variable name is specified, it will be
1573 removed regardless of its value. If a variable and a value
1574 are specified, the variable is only removed if it has the
1575 specified value.</para>
1576 </listitem>
ac3efa8a
LP
1577 </varlistentry>
1578 <varlistentry>
3fb90db2 1579 <term>
b975b0d5 1580 <command>import-environment</command>
1eecafb8 1581 <optional><replaceable>VARIABLE…</replaceable></optional>
b975b0d5 1582 </term>
ac3efa8a
LP
1583
1584 <listitem>
1585 <para>Import all, one or more environment variables set on
1586 the client into the systemd manager environment block. If
73e231ab
JE
1587 no arguments are passed, the entire environment block is
1588 imported. Otherwise, a list of one or more environment
1589 variable names should be passed, whose client-side values
ac3efa8a
LP
1590 are then imported into the manager's environment
1591 block.</para>
1592 </listitem>
27722f96
LN
1593 </varlistentry>
1594 </variablelist>
1595 </refsect2>
1596
1597 <refsect2>
1598 <title>Manager Lifecycle Commands</title>
1599
1600 <variablelist>
1601 <varlistentry>
1602 <term><command>daemon-reload</command></term>
1603
1604 <listitem>
a8eaaee7 1605 <para>Reload the systemd manager configuration. This will
432d5965
ZJS
1606 rerun all generators (see
1607 <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>),
1608 reload all unit files, and recreate the entire dependency
1609 tree. While the daemon is being reloaded, all sockets
1610 systemd listens on behalf of user configuration will stay
1611 accessible.</para>
1612
1613 <para>This command should not be confused with the
1614 <command>reload</command> command.</para>
27722f96
LN
1615 </listitem>
1616 </varlistentry>
1617 <varlistentry>
1618 <term><command>daemon-reexec</command></term>
1619
1620 <listitem>
1621 <para>Reexecute the systemd manager. This will serialize the
1622 manager state, reexecute the process and deserialize the
1623 state again. This command is of little use except for
79640424 1624 debugging and package upgrades. Sometimes, it might be
27722f96 1625 helpful as a heavy-weight <command>daemon-reload</command>.
79640424 1626 While the daemon is being reexecuted, all sockets systemd listening
27722f96
LN
1627 on behalf of user configuration will stay accessible.
1628 </para>
1629 </listitem>
1630 </varlistentry>
1631 </variablelist>
1632 </refsect2>
1633
1634 <refsect2>
1635 <title>System Commands</title>
1636
1637 <variablelist>
99813a19
LP
1638 <varlistentry>
1639 <term><command>is-system-running</command></term>
1640
1641 <listitem>
2de51fdc 1642 <para>Checks whether the system is operational. This
94f099d8
LP
1643 returns success (exit code 0) when the system is fully up
1644 and running, specifically not in startup, shutdown or
1645 maintenance mode, and with no failed services. Failure is
1646 returned otherwise (exit code non-zero). In addition, the
2de51fdc 1647 current state is printed in a short string to standard
a8eaaee7 1648 output, see the table below. Use <option>--quiet</option> to
2de51fdc
ZJS
1649 suppress this output.</para>
1650
adb6cd9b
FB
1651 <para>Use <option>--wait</option> to wait until the boot
1652 process is completed before printing the current state and
1653 returning the appropriate error status. If <option>--wait</option>
1654 is in use, states <varname>initializing</varname> or
1655 <varname>starting</varname> will not be reported, instead
1656 the command will block until a later state (such as
1657 <varname>running</varname> or <varname>degraded</varname>)
1658 is reached.</para>
1659
2de51fdc 1660 <table>
94f099d8
LP
1661 <title><command>is-system-running</command> output</title>
1662 <tgroup cols='3'>
1663 <colspec colname='name'/>
1664 <colspec colname='description'/>
1665 <colspec colname='exit-code'/>
2de51fdc
ZJS
1666 <thead>
1667 <row>
1668 <entry>Name</entry>
1669 <entry>Description</entry>
94f099d8 1670 <entry>Exit Code</entry>
2de51fdc
ZJS
1671 </row>
1672 </thead>
1673 <tbody>
1674 <row>
1675 <entry><varname>initializing</varname></entry>
1676 <entry><para>Early bootup, before
1fdfa094
LP
1677 <filename>basic.target</filename> is reached
1678 or the <varname>maintenance</varname> state entered.
2de51fdc 1679 </para></entry>
94f099d8 1680 <entry>&gt; 0</entry>
2de51fdc
ZJS
1681 </row>
1682 <row>
1683 <entry><varname>starting</varname></entry>
1fdfa094
LP
1684 <entry><para>Late bootup, before the job queue
1685 becomes idle for the first time, or one of the
1686 rescue targets are reached.</para></entry>
94f099d8 1687 <entry>&gt; 0</entry>
2de51fdc
ZJS
1688 </row>
1689 <row>
1690 <entry><varname>running</varname></entry>
1691 <entry><para>The system is fully
1692 operational.</para></entry>
94f099d8 1693 <entry>0</entry>
2de51fdc
ZJS
1694 </row>
1695 <row>
1696 <entry><varname>degraded</varname></entry>
1697 <entry><para>The system is operational but one or more
1698 units failed.</para></entry>
94f099d8 1699 <entry>&gt; 0</entry>
2de51fdc
ZJS
1700 </row>
1701 <row>
1702 <entry><varname>maintenance</varname></entry>
1fdfa094 1703 <entry><para>The rescue or emergency target is
2de51fdc 1704 active.</para></entry>
94f099d8 1705 <entry>&gt; 0</entry>
2de51fdc
ZJS
1706 </row>
1707 <row>
1708 <entry><varname>stopping</varname></entry>
1709 <entry><para>The manager is shutting
1710 down.</para></entry>
94f099d8
LP
1711 <entry>&gt; 0</entry>
1712 </row>
1713 <row>
1714 <entry><varname>offline</varname></entry>
1715 <entry><para>The manager is not
1716 running. Specifically, this is the operational
1717 state if an incompatible program is running as
1718 system manager (PID 1).</para></entry>
1719 <entry>&gt; 0</entry>
1720 </row>
1721 <row>
1722 <entry><varname>unknown</varname></entry>
1723 <entry><para>The operational state could not be
1724 determined, due to lack of resources or another
1725 error cause.</para></entry>
1726 <entry>&gt; 0</entry>
2de51fdc
ZJS
1727 </row>
1728 </tbody>
1729 </tgroup>
1730 </table>
99813a19
LP
1731 </listitem>
1732 </varlistentry>
1733
27722f96
LN
1734 <varlistentry>
1735 <term><command>default</command></term>
1736
1737 <listitem>
6324a8a7
LP
1738 <para>Enter default mode. This is equivalent to <command>systemctl isolate default.target</command>. This
1739 operation is blocking by default, use <option>--no-block</option> to request asynchronous behavior.</para>
27722f96
LN
1740 </listitem>
1741 </varlistentry>
99813a19 1742
27722f96
LN
1743 <varlistentry>
1744 <term><command>rescue</command></term>
1745
1746 <listitem>
6324a8a7
LP
1747 <para>Enter rescue mode. This is equivalent to <command>systemctl isolate rescue.target</command>. This
1748 operation is blocking by default, use <option>--no-block</option> to request asynchronous behavior.</para>
27722f96
LN
1749 </listitem>
1750 </varlistentry>
1751 <varlistentry>
1752 <term><command>emergency</command></term>
1753
1754 <listitem>
6324a8a7
LP
1755 <para>Enter emergency mode. This is equivalent to <command>systemctl isolate
1756 emergency.target</command>. This operation is blocking by default, use <option>--no-block</option> to
1757 request asynchronous behavior.</para>
27722f96
LN
1758 </listitem>
1759 </varlistentry>
1760 <varlistentry>
1761 <term><command>halt</command></term>
1762
1763 <listitem>
6324a8a7
LP
1764 <para>Shut down and halt the system. This is mostly equivalent to <command>systemctl start halt.target
1765 --job-mode=replace-irreversibly --no-block</command>, but also prints a wall message to all users. This command is
1766 asynchronous; it will return after the halt operation is enqueued, without waiting for it to complete. Note
1767 that this operation will simply halt the OS kernel after shutting down, leaving the hardware powered
1768 on. Use <command>systemctl poweroff</command> for powering off the system (see below).</para>
1769
1770 <para>If combined with <option>--force</option>, shutdown of all running services is skipped, however all
1771 processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the
1772 system halt. If <option>--force</option> is specified twice, the operation is immediately executed without
1773 terminating any processes or unmounting any file systems. This may result in data loss. Note that when
1774 <option>--force</option> is specified twice the halt operation is executed by <command>systemctl</command>
1775 itself, and the system manager is not contacted. This means the command should succeed even when the system
1776 manager has crashed.</para>
27722f96
LN
1777 </listitem>
1778 </varlistentry>
1779 <varlistentry>
1780 <term><command>poweroff</command></term>
1781
1782 <listitem>
6324a8a7
LP
1783 <para>Shut down and power-off the system. This is mostly equivalent to <command>systemctl start
1784 poweroff.target --job-mode=replace-irreversibly --no-block</command>, but also prints a wall message to all
1785 users. This command is asynchronous; it will return after the power-off operation is enqueued, without
1786 waiting for it to complete.</para>
1787
1788 <para>If combined with <option>--force</option>, shutdown of all running services is skipped, however all
1789 processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the
1790 powering off. If <option>--force</option> is specified twice, the operation is immediately executed without
1791 terminating any processes or unmounting any file systems. This may result in data loss. Note that when
924e44b4
LP
1792 <option>--force</option> is specified twice the power-off operation is executed by
1793 <command>systemctl</command> itself, and the system manager is not contacted. This means the command should
6324a8a7 1794 succeed even when the system manager has crashed.</para>
27722f96
LN
1795 </listitem>
1796 </varlistentry>
1797 <varlistentry>
e92b3655 1798 <term><command>reboot</command> <optional><replaceable>arg</replaceable></optional></term>
27722f96
LN
1799
1800 <listitem>
6324a8a7
LP
1801 <para>Shut down and reboot the system. This is mostly equivalent to <command>systemctl start reboot.target
1802 --job-mode=replace-irreversibly --no-block</command>, but also prints a wall message to all users. This
1803 command is asynchronous; it will return after the reboot operation is enqueued, without waiting for it to
1804 complete.</para>
1805
1806 <para>If combined with <option>--force</option>, shutdown of all running services is skipped, however all
1807 processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the
1808 reboot. If <option>--force</option> is specified twice, the operation is immediately executed without
1809 terminating any processes or unmounting any file systems. This may result in data loss. Note that when
924e44b4
LP
1810 <option>--force</option> is specified twice the reboot operation is executed by
1811 <command>systemctl</command> itself, and the system manager is not contacted. This means the command should
6324a8a7
LP
1812 succeed even when the system manager has crashed.</para>
1813
1814 <para>If the optional argument <replaceable>arg</replaceable> is given, it will be passed as the optional
1815 argument to the <citerefentry><refentrytitle>reboot</refentrytitle><manvolnum>2</manvolnum></citerefentry>
1816 system call. The value is architecture and firmware specific. As an example, <literal>recovery</literal>
1817 might be used to trigger system recovery, and <literal>fota</literal> might be used to trigger a
37185ec8 1818 <quote>firmware over the air</quote> update.</para>
27722f96
LN
1819 </listitem>
1820 </varlistentry>
b619ec8f 1821
27722f96
LN
1822 <varlistentry>
1823 <term><command>kexec</command></term>
1824
1825 <listitem>
6324a8a7
LP
1826 <para>Shut down and reboot the system via <command>kexec</command>. This is equivalent to
1827 <command>systemctl start kexec.target --job-mode=replace-irreversibly --no-block</command>. This command is
1828 asynchronous; it will return after the reboot operation is enqueued, without waiting for it to
1829 complete.</para>
1830
1831 <para>If combined with <option>--force</option>, shutdown of all running services is skipped, however all
1832 processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the
1833 reboot.</para>
27722f96
LN
1834 </listitem>
1835 </varlistentry>
b619ec8f 1836
27722f96 1837 <varlistentry>
e92b3655 1838 <term><command>exit</command> <optional><replaceable>EXIT_CODE</replaceable></optional></term>
27722f96
LN
1839
1840 <listitem>
6324a8a7
LP
1841 <para>Ask the service manager to quit. This is only supported for user service managers (i.e. in
1842 conjunction with the <option>--user</option> option) or in containers and is equivalent to
1843 <command>poweroff</command> otherwise. This command is asynchronous; it will return after the exit
1844 operation is enqueued, without waiting for it to complete.</para>
1845
dcfaecc7 1846 <para>The service manager will exit with the specified exit code, if
6324a8a7 1847 <replaceable>EXIT_CODE</replaceable> is passed.</para>
27722f96 1848 </listitem>
b619ec8f 1849 </varlistentry>
27722f96 1850
b619ec8f 1851 <varlistentry>
e92b3655 1852 <term><command>switch-root</command> <replaceable>ROOT</replaceable> <optional><replaceable>INIT</replaceable></optional></term>
b619ec8f
LP
1853
1854 <listitem>
fb1bad9d
LP
1855 <para>Switches to a different root directory and executes a new system manager process below it. This is
1856 intended for usage in initial RAM disks ("initrd"), and will transition from the initrd's system manager
1857 process (a.k.a. "init" process) to the main system manager process which is loaded from the actual host
1858 volume. This call takes two arguments: the directory that is to become the new root directory, and the path
1859 to the new system manager binary below it to execute as PID 1. If the latter is omitted or the empty
1860 string, a systemd binary will automatically be searched for and used as init. If the system manager path is
1861 omitted, equal to the empty string or identical to the path to the systemd binary, the state of the
1862 initrd's system manager process is passed to the main system manager, which allows later introspection of
1863 the state of the services involved in the initrd boot phase.</para>
b619ec8f 1864 </listitem>
27722f96 1865 </varlistentry>
b619ec8f 1866
27722f96
LN
1867 <varlistentry>
1868 <term><command>suspend</command></term>
1869
1870 <listitem>
6324a8a7
LP
1871 <para>Suspend the system. This will trigger activation of the special target unit
1872 <filename>suspend.target</filename>. This command is asynchronous, and will return after the suspend
1873 operation is successfully enqueued. It will not wait for the suspend/resume cycle to complete.</para>
27722f96
LN
1874 </listitem>
1875 </varlistentry>
b619ec8f 1876
27722f96
LN
1877 <varlistentry>
1878 <term><command>hibernate</command></term>
1879
1880 <listitem>
6324a8a7
LP
1881 <para>Hibernate the system. This will trigger activation of the special target unit
1882 <filename>hibernate.target</filename>. This command is asynchronous, and will return after the hibernation
1883 operation is successfully enqueued. It will not wait for the hibernate/thaw cycle to complete.</para>
27722f96
LN
1884 </listitem>
1885 </varlistentry>
b619ec8f 1886
27722f96
LN
1887 <varlistentry>
1888 <term><command>hybrid-sleep</command></term>
1889
1890 <listitem>
6324a8a7
LP
1891 <para>Hibernate and suspend the system. This will trigger activation of the special target unit
1892 <filename>hybrid-sleep.target</filename>. This command is asynchronous, and will return after the hybrid
1893 sleep operation is successfully enqueued. It will not wait for the sleep/wake-up cycle to complete.</para>
27722f96
LN
1894 </listitem>
1895 </varlistentry>
6cc2b882
JD
1896
1897 <varlistentry>
1898 <term><command>suspend-then-hibernate</command></term>
1899
1900 <listitem>
1901 <para>Suspend the system and hibernate it after the delay specified in <filename>systemd-sleep.conf</filename>.
1902 This will trigger activation of the special target unit <filename>suspend-then-hibernate.target</filename>.
1903 This command is asynchronous, and will return after the hybrid sleep operation is successfully enqueued.
1904 It will not wait for the sleep/wake-up or hibernate/thaw cycle to complete.</para>
1905 </listitem>
1906 </varlistentry>
27722f96
LN
1907 </variablelist>
1908 </refsect2>
4a6022f0 1909
a7c0e5d7
LP
1910 <refsect2>
1911 <title>Parameter Syntax</title>
1912
da5e955f 1913 <para>Unit commands listed above take either a single unit name (designated as <replaceable>UNIT</replaceable>),
1eecafb8 1914 or multiple unit specifications (designated as <replaceable>PATTERN</replaceable>…). In the first case, the
da25e029
ZJS
1915 unit name with or without a suffix must be given. If the suffix is not specified (unit name is "abbreviated"),
1916 systemctl will append a suitable suffix, <literal>.service</literal> by default, and a type-specific suffix in
1917 case of commands which operate only on specific unit types. For example,
e3e0314b
ZJS
1918 <programlisting># systemctl start sshd</programlisting> and
1919 <programlisting># systemctl start sshd.service</programlisting>
1920 are equivalent, as are
507e28d8 1921 <programlisting># systemctl isolate default</programlisting>
e3e0314b 1922 and
507e28d8 1923 <programlisting># systemctl isolate default.target</programlisting>
da25e029
ZJS
1924 Note that (absolute) paths to device nodes are automatically converted to device unit names, and other (absolute)
1925 paths to mount unit names.
e3e0314b
ZJS
1926 <programlisting># systemctl status /dev/sda
1927# systemctl status /home</programlisting>
1928 are equivalent to:
1929 <programlisting># systemctl status dev-sda.device
1930# systemctl status home.mount</programlisting>
2cdbbc9a 1931 In the second case, shell-style globs will be matched against the primary names of all units currently in memory;
1f00eded
LP
1932 literal unit names, with or without a suffix, will be treated as in the first case. This means that literal unit
1933 names always refer to exactly one unit, but globs may match zero units and this is not considered an
1934 error.</para>
e3e0314b
ZJS
1935
1936 <para>Glob patterns use
decde8cd 1937 <citerefentry project='man-pages'><refentrytitle>fnmatch</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
e3e0314b
ZJS
1938 so normal shell-style globbing rules are used, and
1939 <literal>*</literal>, <literal>?</literal>,
1940 <literal>[]</literal> may be used. See
decde8cd 1941 <citerefentry project='man-pages'><refentrytitle>glob</refentrytitle><manvolnum>7</manvolnum></citerefentry>
1f00eded 1942 for more details. The patterns are matched against the primary names of
2cdbbc9a 1943 units currently in memory, and patterns which do not match anything
e3e0314b
ZJS
1944 are silently skipped. For example:
1945 <programlisting># systemctl stop sshd@*.service</programlisting>
1f00eded 1946 will stop all <filename>sshd@.service</filename> instances. Note that alias names of units, and units that aren't
2cdbbc9a 1947 in memory are not considered for glob expansion.
e3e0314b
ZJS
1948 </para>
1949
da5e955f 1950 <para>For unit file commands, the specified <replaceable>UNIT</replaceable> should be the name of the unit file
1534e170 1951 (possibly abbreviated, see above), or the absolute path to the unit file:
e3e0314b
ZJS
1952 <programlisting># systemctl enable foo.service</programlisting>
1953 or
1954 <programlisting># systemctl link /path/to/foo.service</programlisting>
1955 </para>
a7c0e5d7
LP
1956 </refsect2>
1957
4a6022f0
ZJS
1958 </refsect1>
1959
1960 <refsect1>
1961 <title>Exit status</title>
1962
23a9ffb0
ZJS
1963 <para>On success, 0 is returned, a non-zero failure code otherwise.</para>
1964
1965 <para><command>systemctl</command> uses the return codes defined by LSB, as defined in
1966 <ulink url="http://refspecs.linuxbase.org/LSB_3.0.0/LSB-PDA/LSB-PDA/iniscrptact.html">LSB 3.0.0</ulink>.
1967 </para>
1968
1969 <table>
1970 <title>LSB return codes</title>
1971
1972 <tgroup cols='3'>
1973 <thead>
1974 <row>
1975 <entry>Value</entry>
1976 <entry>Description in LSB</entry>
1977 <entry>Use in systemd</entry>
1978 </row>
1979 </thead>
1980 <tbody>
1981 <row>
1982 <entry><constant>0</constant></entry>
1983 <entry>"program is running or service is OK"</entry>
1984 <entry>unit is active</entry>
1985 </row>
1986 <row>
1987 <entry><constant>1</constant></entry>
1988 <entry>"program is dead and <filename>/var/run</filename> pid file exists"</entry>
1989 <entry>unit <emphasis>not</emphasis> failed (used by <command>is-failed</command>)</entry>
1990 </row>
1991 <row>
1992 <entry><constant>2</constant></entry>
1993 <entry>"program is dead and <filename>/var/lock</filename> lock file exists"</entry>
1994 <entry>unused</entry>
1995 </row>
1996 <row>
1997 <entry><constant>3</constant></entry>
1998 <entry>"program is not running"</entry>
1999 <entry>unit is not active</entry>
2000 </row>
2001 <row>
2002 <entry><constant>4</constant></entry>
2003 <entry>"program or service status is unknown"</entry>
2004 <entry>no such unit</entry>
2005 </row>
2006 </tbody>
2007 </tgroup>
2008 </table>
2009
2010 <para>The mapping of LSB service states to systemd unit states is imperfect, so it is better to
2011 not rely on those return values but to look for specific unit states and substates instead.
2012 </para>
4a6022f0
ZJS
2013 </refsect1>
2014
7d4fb3b1
RC
2015 <refsect1>
2016 <title>Environment</title>
2017
2018 <variablelist class='environment-variables'>
2019 <varlistentry>
2020 <term><varname>$SYSTEMD_EDITOR</varname></term>
2021
2022 <listitem><para>Editor to use when editing units; overrides
2023 <varname>$EDITOR</varname> and <varname>$VISUAL</varname>. If neither
2024 <varname>$SYSTEMD_EDITOR</varname> nor <varname>$EDITOR</varname> nor
2025 <varname>$VISUAL</varname> are present or if it is set to an empty
2026 string or if their execution failed, systemctl will try to execute well
2027 known editors in this order:
9391a1c3 2028 <citerefentry project='die-net'><refentrytitle>editor</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
3ba3a79d
ZJS
2029 <citerefentry project='die-net'><refentrytitle>nano</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
2030 <citerefentry project='die-net'><refentrytitle>vim</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
2031 <citerefentry project='die-net'><refentrytitle>vi</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
7d4fb3b1
RC
2032 </para></listitem>
2033 </varlistentry>
2034 </variablelist>
2035 <xi:include href="less-variables.xml" xpointer="pager"/>
2036 <xi:include href="less-variables.xml" xpointer="less"/>
6e16066e 2037 <xi:include href="less-variables.xml" xpointer="lesscharset"/>
7d4fb3b1 2038 </refsect1>
4a6022f0
ZJS
2039
2040 <refsect1>
2041 <title>See Also</title>
2042 <para>
2043 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
4a6022f0
ZJS
2044 <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
2045 <citerefentry><refentrytitle>loginctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
a03fe1a5 2046 <citerefentry><refentrytitle>machinectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
4a6022f0 2047 <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
ee41f602 2048 <citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
4a6022f0 2049 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
5aded369 2050 <citerefentry project='man-pages'><refentrytitle>wall</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
7d4fb3b1 2051 <citerefentry><refentrytitle>systemd.preset</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
432d5965 2052 <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
decde8cd 2053 <citerefentry project='man-pages'><refentrytitle>glob</refentrytitle><manvolnum>7</manvolnum></citerefentry>
4a6022f0
ZJS
2054 </para>
2055 </refsect1>
7874bcd6
LP
2056
2057</refentry>