]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: pull in systemd-pstore.service from sysinit.target
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2020 14:12:00 +0000 (16:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2020 14:29:24 +0000 (16:29 +0200)
sysinit.target is the target our early boot services are generally
pulled in from, make systemd-pstore.service not an exception of that.

Effectively this doesn't mean much, either way our unit is part of the
initial transaction.

units/systemd-pstore.service.in

index 89f34afe3411ccec5dc9e053250384742516b36b..37fcf878f0f021b5958fa8d60f99db2d721463c4 100644 (file)
@@ -15,6 +15,7 @@ ConditionVirtualization=!container
 DefaultDependencies=no
 Wants=systemd-remount-fs.service
 After=systemd-remount-fs.service
+Before=sysinit.target
 
 [Service]
 Type=oneshot
@@ -23,4 +24,4 @@ RemainAfterExit=yes
 StateDirectory=systemd/pstore
 
 [Install]
-WantedBy=systemd-remount-fs.service
+WantedBy=sysinit.target