summary refs log tree commit diff
path: root/nixos/modules/services/mail/dovecot.nix
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2020-05-08 12:00:00 +0000
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2020-05-08 12:00:00 +0000
commit0f3b4928b263c14e1a08b92eef4c13a7d320114c (patch)
treecef4eb81bf6347df0be055abf8ec4ad47b7da5bd /nixos/modules/services/mail/dovecot.nix
parentfce7562cf46727fdaf801b232116bc9ce0512049 (diff)
downloadnixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar.gz
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar.bz2
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar.lz
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar.xz
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.tar.zst
nixpkgs-0f3b4928b263c14e1a08b92eef4c13a7d320114c.zip
dovecot: restart when modules are changed
Diffstat (limited to 'nixos/modules/services/mail/dovecot.nix')
-rw-r--r--nixos/modules/services/mail/dovecot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index 230a2ae3f82..9fbf0c19752 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -407,7 +407,7 @@ in
 
       after = [ "network.target" ];
       wantedBy = [ "multi-user.target" ];
-      restartTriggers = [ cfg.configFile ];
+      restartTriggers = [ cfg.configFile modulesDir ];
 
       serviceConfig = {
         ExecStart = "${dovecotPkg}/sbin/dovecot -F";