Skip to content

Commit

Permalink
Update nixos/modules/services/networking/keepalived/default.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Arne Keller <[email protected]>
  • Loading branch information
itzwam and FliegendeWurst authored Dec 31, 2024
1 parent d686009 commit 261f574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/keepalived/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ in
umask 077
${pkgs.envsubst}/bin/envsubst -i "${keepalivedConf}" > ${finalConfigFile}
'');
ExecStart = "${lib.getBin cfg.package}/sbin/keepalived"
ExecStart = "${lib.getExe cfg.package}"
+ " -f ${finalConfigFile}"
+ " -p ${pidFile}"
+ optionalString cfg.snmp.enable " --snmp";
Expand Down

0 comments on commit 261f574

Please sign in to comment.