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:25:03 +02:00
parent e0f968ad96
commit b0c1a07654
1 changed files with 2 additions and 1 deletions

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