mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos/redis: drop unnecessary dependencies from systemd unit
This commit is contained in:
parent
29e7629318
commit
fa49f7ce6b
@ -232,7 +232,6 @@ in
|
||||
systemd.services.disable-transparent-huge-pages = {
|
||||
enable = config.services.redis.enable;
|
||||
description = "Disable Transparent Huge Pages (required by Redis)";
|
||||
after = [ "sysinit.target" "local-fs.target" ];
|
||||
before = [ "redis.service" ];
|
||||
wantedBy = [ "redis.service" ];
|
||||
script = "echo never >/sys/kernel/mm/transparent_hugepage/enabled";
|
||||
|
Loading…
Reference in New Issue
Block a user