summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2021-08-22 19:15:10 +0200
committerGitHub <noreply@github.com>2021-08-22 19:15:10 +0200
commit0e19ea6cd153234004dfb505aef00179ce91c8a3 (patch)
treebf56ab77a36b27342b6e16eadd3bb218ec1a45c3 /nixos/modules/services
parenta5b5e8794e346c5e2636938e720da155f59eeb24 (diff)
parent60c8c645953f78efba191c0a02afa00448f9dfe0 (diff)
downloadnixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar.gz
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar.bz2
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar.lz
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar.xz
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.tar.zst
nixpkgs-0e19ea6cd153234004dfb505aef00179ce91c8a3.zip
Merge pull request #134940 from dminuoso/dovecot-switch-service-to-notify
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 bac437c752d..f3500f46e35 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";