summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 10:54:26 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-09-06 10:54:26 -0400
commit07812e601aabeedd9c9a678176be2cf28957e4b1 (patch)
tree37bde7ff39d6e921eed7cecb597e12e6390056e8 /systemd
parent7d5f1059db439eed86f2c3708db8a5ee8b7ca81a (diff)
downloadrandom-seed-07812e601aabeedd9c9a678176be2cf28957e4b1.tar.xz
random-seed-07812e601aabeedd9c9a678176be2cf28957e4b1.zip
fix units
Diffstat (limited to 'systemd')
-rw-r--r--systemd/random-seed-save.service.in4
-rw-r--r--systemd/random-seed.service.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/systemd/random-seed-save.service.in b/systemd/random-seed-save.service.in
index e70192b..2785b00 100644
--- a/systemd/random-seed-save.service.in
+++ b/systemd/random-seed-save.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=Random seed save
-RequiresMountsFor=@default_seed_path_dir@
+RequiresMountsFor=@default_seed_dir@
After=systemd-remount-fs.service
[Service]
@@ -13,4 +13,4 @@ ProtectKernelTunables=yes
ProtectKernelModules=yes
LockPersonality=yes
TemporaryFileSystem=/:ro
-BindPaths=@default_seed_path_dir@
+BindPaths=@default_seed_dir@
diff --git a/systemd/random-seed.service.in b/systemd/random-seed.service.in
index 97bda54..1d88698 100644
--- a/systemd/random-seed.service.in
+++ b/systemd/random-seed.service.in
@@ -2,7 +2,7 @@
Description=Random seed load/save
Documentation=man:random-seed(8) man:random(4)
DefaultDependencies=no
-RequiresMountsFor=@default_seed_path_dir@
+RequiresMountsFor=@default_seed_dir@
Conflicts=shutdown.target
After=systemd-remount-fs.service
Before=sysinit.target shutdown.target
@@ -21,7 +21,7 @@ ProtectKernelTunables=yes
ProtectKernelModules=yes
LockPersonality=yes
TemporaryFileSystem=/:ro
-BindPaths=@default_seed_path_dir@
+BindPaths=@default_seed_dir@
TimeoutSec=30s
[Install]