mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
nixos: fix grsec-lock requires
This commit is contained in:
parent
ccd6f5a313
commit
18320d3b21
|
@ -286,7 +286,7 @@ in
|
||||||
|
|
||||||
systemd.services.grsec-lock = mkIf cfg.config.sysctl {
|
systemd.services.grsec-lock = mkIf cfg.config.sysctl {
|
||||||
description = "grsecurity sysctl-lock Service";
|
description = "grsecurity sysctl-lock Service";
|
||||||
requires = [ "sysctl.service" ];
|
requires = [ "systemd-sysctl.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
serviceConfig.RemainAfterExit = "yes";
|
serviceConfig.RemainAfterExit = "yes";
|
||||||
|
|
Loading…
Reference in a new issue