forked from mirrors/nixpkgs
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 a new issue