summaryrefslogtreecommitdiffstats
path: root/units/systemd-pstore.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-22 07:09:12 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-22 07:31:21 +0200
commit6d4f213b1f6afb2901f0d97cec0e28e20809b713 (patch)
tree2b8b71a187ef0f3bdad038758d77c2a920fb1e28 /units/systemd-pstore.service.in
parentpstore: use log_setup_service() (diff)
downloadsystemd-6d4f213b1f6afb2901f0d97cec0e28e20809b713.tar.xz
systemd-6d4f213b1f6afb2901f0d97cec0e28e20809b713.zip
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