summaryrefslogtreecommitdiff
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
parent7d5f1059db439eed86f2c3708db8a5ee8b7ca81a (diff)
downloadrandom-seed-07812e601aabeedd9c9a678176be2cf28957e4b1.tar.xz
random-seed-07812e601aabeedd9c9a678176be2cf28957e4b1.zip
fix units
-rw-r--r--Makefile.in2
-rw-r--r--systemd/random-seed-save.service.in4
-rw-r--r--systemd/random-seed.service.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 0ec07ad..9fd7545 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -69,7 +69,7 @@ endif
systemd/random-seed.service systemd/random-seed-save.service: Makefile
@mkdir -p $(@D)
sed -e 's|@sbindir[@]|$(sbindir)|g' \
- -e 's|@default_seed_dir[@]|$(default_seed_path_dir)|g' \
+ -e 's|@default_seed_dir[@]|$(default_seed_dir)|g' \
$(srcdir)/$@.in > $@
systemd/random-seed.service: systemd/random-seed.service.in
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]