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 91676b6458
This commit is contained in:
Luca Boccassi 2024-04-26 18:43:01 +01:00 committed by Luca Boccassi
parent 85c34a0842
commit 1ac79a1937

View 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]