mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Merge pull request #80920 from worldofpeace/rngd-cleanup-shutdown
nixos/rngd: fix clean shutdown
This commit is contained in:
commit
e906014d4b
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@ in
|
||||||
|
|
||||||
after = [ "dev-random.device" ];
|
after = [ "dev-random.device" ];
|
||||||
|
|
||||||
|
# Clean shutdown without DefaultDependencies
|
||||||
|
conflicts = [ "shutdown.target" ];
|
||||||
|
before = [
|
||||||
|
"sysinit.target"
|
||||||
|
"shutdown.target"
|
||||||
|
];
|
||||||
|
|
||||||
description = "Hardware RNG Entropy Gatherer Daemon";
|
description = "Hardware RNG Entropy Gatherer Daemon";
|
||||||
|
|
||||||
# rngd may have to start early to avoid entropy starvation during boot with encrypted swap
|
# rngd may have to start early to avoid entropy starvation during boot with encrypted swap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue