From 07812e601aabeedd9c9a678176be2cf28957e4b1 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 6 Sep 2018 10:54:26 -0400 Subject: fix units --- Makefile.in | 2 +- systemd/random-seed-save.service.in | 4 ++-- systemd/random-seed.service.in | 4 ++-- 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] -- cgit v1.2.3-70-g09d2