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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user