summaryrefslogtreecommitdiff
path: root/units/systemd-pstore.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-22 14:09:12 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-22 14:31:21 +0900
commit6d4f213b1f6afb2901f0d97cec0e28e20809b713 (patch)
tree2b8b71a187ef0f3bdad038758d77c2a920fb1e28 /units/systemd-pstore.service.in
parentbaa2ea8681aac261bd5d028d175442f3bc12335a (diff)
downloadsystemd-6d4f213b1f6afb2901f0d97cec0e28e20809b713.tar.gz
pstore: run only when /sys/fs/pstore is not empty
Diffstat (limited to 'units/systemd-pstore.service.in')
-rw-r--r--units/systemd-pstore.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in
index fec2b1aebf..dde21bc33e 100644
--- a/units/systemd-pstore.service.in
+++ b/units/systemd-pstore.service.in
@@ -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