From 1ac79a1937ea1b1f32beb8a0d94a3781b3923020 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 26 Apr 2024 18:43:01 +0100 Subject: [PATCH] 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 --- units/systemd-networkd-persistent-storage.service | 1 + 1 file changed, 1 insertion(+) 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]