units: make sure systemd-pstore stops at shutdown

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.
This commit is contained in:
Lennart Poettering
2020-04-08 16:29:58 +02:00
parent e0f968ad96
commit b0c1a07654
+2 -1
View 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