]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: make sure systemd-pstore stops at shutdown 15365/head
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2020 14:25:03 +0000 (16:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Apr 2020 14:29:58 +0000 (16:29 +0200)
This doesn't matter too much given that the service doesn't do anything
on shutdown, but let's still stop it to make things cleaner.

units/systemd-pstore.service.in

index f9705b57f6f127eeccde1316ad756b0367d38e4e..6e4827f03c8632f990a3ded3a5cb7649ff26619d 100644 (file)
@@ -13,7 +13,8 @@ Documentation=man:systemd-pstore(8)
 ConditionDirectoryNotEmpty=/sys/fs/pstore
 ConditionVirtualization=!container
 DefaultDependencies=no
-Before=sysinit.target
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
 
 [Service]
 Type=oneshot