Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 04be7262a62a413007fe6bf6e917a4e4d0f0df54
https://github.com/NixOS/nixpkgs/commit/04be7262a62a413007fe6bf6e917a4e4d0f0df54
Author: Andrey Arapov <[email protected]>
Date: 2015-01-19 (Mon, 19 Jan 2015)
Changed paths:
M nixos/modules/services/mail/dovecot.nix
Log Message:
-----------
nixos/dovecot: added configFile option and default Restart on-failure, PR
#5845
Absolute path is required when one has such postfix configuration
where he/she needs to specify the actual (real) path to active dovecot
config.
Without this commit applied, the dovecot is running in such way:
/nix/store/hashAAA-dovecot-ver/sbin/dovecot -F -c
/nix/store/hashBBB-dovecot2.conf
and postfix can't be aware of the value of "hashBBB" via
services.postfix.extraConfig = '' ... '';
(it can only be aware of "hashAAA" with ${pkgs.dovecot} parameter)
Also enable Restart on-failure.
Edit: set RestartSec to 1s
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits