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)
This commit is contained in:
Alexander V. Nikolaev 2018-09-10 19:43:17 +03:00
parent 1491d4f268
commit 08f266490b

View file

@ -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.
'';