[systemd-devel] [PATCH] units: add ConditionPathIsReadWrite for systemd-random-seed.service

Jonathan Liu net147 at gmail.com
Wed Apr 9 21:00:11 PDT 2014


---
 units/systemd-random-seed.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in
index 1879b2f..cbe000c 100644
--- a/units/systemd-random-seed.service.in
+++ b/units/systemd-random-seed.service.in
@@ -13,6 +13,7 @@ RequiresMountsFor=@RANDOM_SEED@
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
 Before=sysinit.target shutdown.target
+ConditionPathIsReadWrite=@RANDOM_SEED_DIR@
 
 [Service]
 Type=oneshot
-- 
1.9.1



More information about the systemd-devel mailing list