lldpd: 0.9.7 -> 0.9.8
Now uses the upstream systemd unit which adds lots of hardening flags.
This commit is contained in:
@@ -28,16 +28,11 @@ in
|
||||
users.extraGroups._lldpd = {};
|
||||
|
||||
environment.systemPackages = [ pkgs.lldpd ];
|
||||
systemd.packages = [ pkgs.lldpd ];
|
||||
|
||||
systemd.services.lldpd = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
requires = [ "network.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.lldpd}/bin/lldpd -d ${concatStringsSep " " cfg.extraArgs}";
|
||||
PrivateTmp = true;
|
||||
PrivateDevices = true;
|
||||
};
|
||||
environment.LLDPD_OPTIONS = concatStringsSep " " cfg.extraArgs;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user