3
0
Fork 0
forked from mirrors/nixpkgs

nixos/redis: drop unnecessary dependencies from systemd unit

This commit is contained in:
Peter Simons 2019-09-01 09:04:11 +02:00
parent 29e7629318
commit fa49f7ce6b

View file

@ -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";