From: Luca Boccassi Date: Fri, 26 Apr 2024 17:43:01 +0000 (+0100) Subject: units: add Before=shutdown.target to systemd-networkd-persistent-storage.service X-Git-Tag: v256-rc2~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac79a1937ea1b1f32beb8a0d94a3781b3923020;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/systemd-networkd-persistent-storage.service b/units/systemd-networkd-persistent-storage.service index 5db29365478..308f66a28f3 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]