diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-26 02:33:20 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-03-11 17:57:16 +0100 |
commit | 91676b645886382328c261efd5e83490d16e75cf (patch) | |
tree | 27b0de72aaf327350feb31457045a9be5b8b1bed /units/systemd-networkd.service.in | |
parent | network/varlink: introduce io.systemd.Network.SetPersistentStorage method (diff) | |
download | systemd-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 'units/systemd-networkd.service.in')
-rw-r--r-- | units/systemd-networkd.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in index 3dcaa55aac..200b126faa 100644 --- a/units/systemd-networkd.service.in +++ b/units/systemd-networkd.service.in @@ -17,7 +17,7 @@ DefaultDependencies=no After=systemd-networkd.socket systemd-udevd.service network-pre.target systemd-sysusers.service systemd-sysctl.service Before=network.target multi-user.target shutdown.target initrd-switch-root.target Conflicts=shutdown.target initrd-switch-root.target -Wants=systemd-networkd.socket network.target +Wants=systemd-networkd.socket network.target systemd-networkd-persistent-storage.service [Service] AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW |