summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorVictor Nawothnig <dminuoso+git@icloud.com>2021-08-20 12:12:52 +0200
committerVictor Nawothnig <dminuoso+git@icloud.com>2021-08-22 18:44:58 +0200
commit60c8c645953f78efba191c0a02afa00448f9dfe0 (patch)
tree272f9f4a45e47e4acd4d814ee197dc51feb7bf27 /nixos/modules/services
parent3fbb3d909196317505607d3929077a3d061cee0b (diff)
downloadnixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar.gz
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar.bz2
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar.lz
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar.xz
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.tar.zst
nixpkgs-60c8c645953f78efba191c0a02afa00448f9dfe0.zip
nixos/dovecot: Switch systemd service type to notify
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/mail/dovecot.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index 1ccfb357750..14780c15aa2 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -429,6 +429,7 @@ in
 
       startLimitIntervalSec = 60;  # 1 min
       serviceConfig = {
+        Type = "notify";
         ExecStart = "${dovecotPkg}/sbin/dovecot -F";
         ExecReload = "${dovecotPkg}/sbin/doveadm reload";
         Restart = "on-failure";