Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bf76bbafddd5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e74d6735f09d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 8, 2020

  1. roundcube service: Restart on config changes.

    Until now, e.g. `extraConfig` changes did not reflect in
    the system on `nixos-rebuild switch`.
    nh2 committed Nov 8, 2020
    Copy the full SHA
    91b20fb View commit details

Commits on Nov 9, 2020

  1. Merge pull request #103170 from nh2/roundcube-restart-on-config-changes

    roundcube service: Restart on config changes
    Ma27 authored Nov 9, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e74d673 View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 nixos/modules/services/mail/roundcube.nix
5 changes: 5 additions & 0 deletions nixos/modules/services/mail/roundcube.nix
Original file line number Diff line number Diff line change
@@ -204,6 +204,11 @@ in
};
systemd.services.phpfpm-roundcube.after = [ "roundcube-setup.service" ];

# Restart on config changes.
systemd.services.phpfpm-roundcube.restartTriggers = [
config.environment.etc."roundcube/config.inc.php".source
];

systemd.services.roundcube-setup = mkMerge [
(mkIf (cfg.database.host == "localhost") {
requires = [ "postgresql.service" ];