Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cdb33d1ddcf3
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0f4e11705408
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 27, 2018

  1. nixos/rspamd: Preserve runtime directory when using socket activation

    (cherry picked from commit 458bcc8)
    griff authored and Mic92 committed Sep 27, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    kraenhansen Kræn Hansen
    Copy the full SHA
    0f4e117 View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 nixos/modules/services/mail/rspamd.nix
1 change: 1 addition & 0 deletions nixos/modules/services/mail/rspamd.nix
Original file line number Diff line number Diff line change
@@ -308,6 +308,7 @@ in
ExecStart = "${pkgs.rspamd}/bin/rspamd ${optionalString cfg.debug "-d"} --user=${cfg.user} --group=${cfg.group} --pid=/run/rspamd.pid -c ${rspamdConfFile} -f";
Restart = "always";
RuntimeDirectory = "rspamd";
RuntimeDirectoryPreserve = mkIf cfg.socketActivation true;
PrivateTmp = true;
Sockets = mkIf cfg.socketActivation (concatStringsSep " " allSocketNames);
};