]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pstore: run only when /sys/fs/pstore is not empty 13131/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 05:09:12 +0000 (14:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 05:31:21 +0000 (14:31 +0900)
units/systemd-pstore.service.in

index fec2b1aebf82c83b7a6bfc4a0ec4ecdd6db57e6c..dde21bc33e52b1d09a3af6b6592fcc07e2f6c183 100644 (file)
@@ -10,6 +10,7 @@
 [Unit]
 Description=Platform Persistent Storage Archival
 Documentation=man:systemd-pstore(8)
+ConditionDirectoryNotEmpty=/sys/fs/pstore
 DefaultDependencies=no
 Wants=systemd-remount-fs.service
 After=systemd-remount-fs.service