]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: add Before=shutdown.target to systemd-networkd-persistent-storage.service
authorLuca Boccassi <bluca@debian.org>
Fri, 26 Apr 2024 17:43:01 +0000 (18:43 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 26 Apr 2024 20:16:33 +0000 (22:16 +0200)
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

index 5db293654782eccdd5263f6639a0dcac60f3d8a0..308f66a28f30575456af3644788a7e3705ea78f1 100644 (file)
@@ -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]