summary refs log tree commit diff
path: root/nixos/modules/services/mail
diff options
context:
space:
mode:
authorAlexander V. Nikolaev <avn@avnik.info>2018-09-10 19:43:17 +0300
committerAlexander V. Nikolaev <avn@avnik.info>2018-09-22 20:57:08 +0300
commit08f266490b7bb0c3b5492c0e3883828b5f4fd565 (patch)
tree5c6f37053db98fe20e9cc2eb180dea5ee8693392 /nixos/modules/services/mail
parent1491d4f268421d64667dd136e4064a0550fc1bff (diff)
downloadnixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar.gz
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar.bz2
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar.lz
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar.xz
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.tar.zst
nixlib-08f266490b7bb0c3b5492c0e3883828b5f4fd565.zip
rmilter: move rmilter.sock out of /run/rmilter
/run/rmilter is set by systemd, and have root:root ownership, which
prevent pid file to write.

This fix suggested to be promoted to 18.09 branch.
(Although rmilter itself is deprecated, and I plan to remove it, after
18.09 would be released)
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r--nixos/modules/services/mail/rmilter.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/rmilter.nix b/nixos/modules/services/mail/rmilter.nix
index 7f38d7570132..c3e3d8232429 100644
--- a/nixos/modules/services/mail/rmilter.nix
+++ b/nixos/modules/services/mail/rmilter.nix
@@ -89,7 +89,7 @@ in
 
       bindSocket.path = mkOption {
        type = types.str;
-       default = "/run/rmilter/rmilter.sock";
+       default = "/run/rmilter.sock";
        description = ''
           Path to Unix domain socket to listen on.
         '';