nixos: fix grsec-lock requires

This commit is contained in:
Joachim Fasting 2015-03-02 07:20:45 +01:00
parent ccd6f5a313
commit 18320d3b21

View File

@ -286,7 +286,7 @@ in
systemd.services.grsec-lock = mkIf cfg.config.sysctl {
description = "grsecurity sysctl-lock Service";
requires = [ "sysctl.service" ];
requires = [ "systemd-sysctl.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "oneshot";
serviceConfig.RemainAfterExit = "yes";