diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-22 07:09:12 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-22 07:31:21 +0200 |
commit | 6d4f213b1f6afb2901f0d97cec0e28e20809b713 (patch) | |
tree | 2b8b71a187ef0f3bdad038758d77c2a920fb1e28 /units/systemd-pstore.service.in | |
parent | pstore: use log_setup_service() (diff) | |
download | systemd-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.in | 1 |
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 |