Merge pull request #80920 from worldofpeace/rngd-cleanup-shutdown

nixos/rngd: fix clean shutdown
This commit is contained in:
worldofpeace 2020-03-01 11:44:22 +00:00 committed by GitHub
commit e906014d4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,13 @@ in
after = [ "dev-random.device" ];
# Clean shutdown without DefaultDependencies
conflicts = [ "shutdown.target" ];
before = [
"sysinit.target"
"shutdown.target"
];
description = "Hardware RNG Entropy Gatherer Daemon";
# rngd may have to start early to avoid entropy starvation during boot with encrypted swap