diff options
author | Luca Boccassi <bluca@debian.org> | 2024-04-26 19:43:01 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-04-26 22:16:33 +0200 |
commit | 1ac79a1937ea1b1f32beb8a0d94a3781b3923020 (patch) | |
tree | 8d19a3edf60eaa9a32fd03d37479fbe9fed0ac36 /units | |
parent | Merge pull request #32510 from arthurzam/bash-v256 (diff) | |
download | systemd-1ac79a1937ea1b1f32beb8a0d94a3781b3923020.tar.xz systemd-1ac79a1937ea1b1f32beb8a0d94a3781b3923020.zip |
units: add Before=shutdown.target to systemd-networkd-persistent-storage.service
It's ordered with networkd, but just in case. Lintian complains:
W: systemd: systemd-service-file-shutdown-problems [usr/lib/systemd/system/systemd-networkd-persistent-storage.service]
Follow-up for 91676b645886382328c261efd5e83490d16e75cf
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-networkd-persistent-storage.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd-persistent-storage.service b/units/systemd-networkd-persistent-storage.service index 5db2936547..308f66a28f 100644 --- a/units/systemd-networkd-persistent-storage.service +++ b/units/systemd-networkd-persistent-storage.service @@ -15,6 +15,7 @@ DefaultDependencies=no After=systemd-remount-fs.service systemd-networkd.service BindsTo=systemd-networkd.service Conflicts=shutdown.target +Before=shutdown.target ConditionPathExists=!/etc/initrd-release [Service] |