pstore: Don't start systemd-pstore.service in containers

Usually it is not useful and can also fail making
boot-and-services autopkgtest fail.
This commit is contained in:
Balint Reczey
2020-02-27 14:26:34 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 81eb5bc5cc
commit 287f506c32
+1
View File
@@ -11,6 +11,7 @@
Description=Platform Persistent Storage Archival
Documentation=man:systemd-pstore(8)
ConditionDirectoryNotEmpty=/sys/fs/pstore
ConditionVirtualization=!container
DefaultDependencies=no
Wants=systemd-remount-fs.service
After=systemd-remount-fs.service