From: Yu Watanabe Date: Mon, 22 Jul 2019 05:09:12 +0000 (+0900) Subject: pstore: run only when /sys/fs/pstore is not empty X-Git-Tag: v243-rc1~74^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d4f213b1f6afb2901f0d97cec0e28e20809b713;p=thirdparty%2Fsystemd.git pstore: run only when /sys/fs/pstore is not empty --- diff --git a/units/systemd-pstore.service.in b/units/systemd-pstore.service.in index fec2b1aebf8..dde21bc33e5 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