Debian Codegraph @

man/[email protected]

raw
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
5 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id="systemd-quotacheck_.service" conditional='ENABLE_QUOTACHECK'
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>[email protected]</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>[email protected]</refentrytitle>
16 <manvolnum>8</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>[email protected]</refname>
21 <refname>systemd-quotacheck-root.service</refname>
22 <refname>systemd-quotacheck</refname>
23 <refpurpose>File system quota checker logic</refpurpose>
24 </refnamediv>
25
26 <refsynopsisdiv>
27 <para><filename>[email protected]</filename></para>
28 <para><filename>systemd-quotacheck-root.service</filename></para>
29 <para><filename>/usr/lib/systemd/systemd-quotacheck</filename></para>
30 </refsynopsisdiv>
31
32 <refsect1>
33 <title>Description</title>
34
35 <para><filename>[email protected]</filename> and
36 <filename>systemd-quotacheck-root.service</filename> are services responsible for file system quota
37 checks. They run once at boot after all necessary file systems are mounted. They are pulled in only if at
38 least one file system has quotas enabled.</para>
39 </refsect1>
40
41 <refsect1>
42 <title>Kernel Command Line</title>
43
44 <para><filename>systemd-quotacheck</filename> understands one
45 kernel command line parameter:</para>
46
47 <variablelist class='kernel-commandline-options'>
48 <varlistentry>
49 <term><varname>quotacheck.mode=</varname></term>
50
51 <listitem><para>One of <literal>auto</literal>,
52 <literal>force</literal>, <literal>skip</literal>. Controls
53 the mode of operation. The default is <literal>auto</literal>,
54 and ensures that file system quota checks are done when the
55 file system quota checker deems them necessary.
56 <literal>force</literal> unconditionally results in full file
57 system quota checks. <literal>skip</literal> skips any file
58 system quota checks.</para>
59
60 <xi:include href="version-info.xml" xpointer="v186"/></listitem>
61 </varlistentry>
62 </variablelist>
63 </refsect1>
64
65 <refsect1>
66 <title>Credentials</title>
67
68 <para><command>systemd-quotacheck</command> supports the service credentials logic as implemented by
69 <varname>ImportCredential=</varname>/<varname>LoadCredential=</varname>/<varname>SetCredential=</varname>
70 (see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
71 details). The following credentials are used when passed in:</para>
72
73 <variablelist class='system-credentials'>
74 <varlistentry>
75 <term><varname>quotacheck.mode</varname></term>
76
77 <listitem>
78 <para>The contents of the credential is parsed as same as the kernel command line option with the
79 same name. See above for more details.</para>
80
81 <xi:include href="version-info.xml" xpointer="v258"/>
82 </listitem>
83 </varlistentry>
84 </variablelist>
85
86 <para>Note that by default the <filename>[email protected]</filename> and
87 <filename>systemd-quotacheck-root.service</filename> unit files are set up to inherit
88 <varname>quotacheck.mode</varname> credential from the service manager.</para>
89 </refsect1>
90
91 <refsect1>
92 <title>See Also</title>
93 <para><simplelist type="inline">
94 <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
95 <member><citerefentry project='die-net'><refentrytitle>quotacheck</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
96 <member><citerefentry><refentrytitle>[email protected]</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
97 </simplelist></para>
98 </refsect1>
99
100 </refentry>