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:
parent
e0f968ad96
commit
b0c1a07654
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue