summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-02-26 02:33:20 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-03-11 17:57:16 +0100
commit91676b645886382328c261efd5e83490d16e75cf (patch)
tree27b0de72aaf327350feb31457045a9be5b8b1bed /man
parentnetwork/varlink: introduce io.systemd.Network.SetPersistentStorage method (diff)
downloadsystemd-91676b645886382328c261efd5e83490d16e75cf.tar.xz
systemd-91676b645886382328c261efd5e83490d16e75cf.zip
networkctl: introduce "persistent-storage" command
Then, this introduces systemd-networkd-persistent-storage.service. systemd-networkd.service is an early starting service. So, at the time it is started, the persistent storage for the service may not be ready, and we cannot use StateDirectory=systemd/network in systemd-networkd.service. The newly added systemd-networkd-persistent-storage.service creates the state directory for networkd, and notify systemd-networkd that the directory is usable.
Diffstat (limited to 'man')
-rw-r--r--man/networkctl.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml
index e85718269a..8370e72cf9 100644
--- a/man/networkctl.xml
+++ b/man/networkctl.xml
@@ -495,6 +495,21 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
<xi:include href="version-info.xml" xpointer="v256"/></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>
+ <command>persistent-storage</command>
+ <replaceable>BOOL</replaceable>
+ </term>
+ <listitem>
+ <para>Notify <filename>systemd-networkd.service</filename> that the persistent storage for the
+ service is ready. This is called by
+ <filename>systemd-networkd-persistent-storage.service</filename>. Usually, this command should not
+ be called manually by users or administrators.</para>
+
+ <xi:include href="version-info.xml" xpointer="v256"/>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>