nixos/postgrey: /var/run -> /run

This commit is contained in:
Bob van der Linden
2019-03-20 00:02:44 +01:00
parent 0438ad4712
commit edd5c88086
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ with lib;
inetPort = [ "services" "postgrey" "inetPort" ];
in
if value inetAddr == null
then { path = "/var/run/postgrey.sock"; }
then { path = "/run/postgrey.sock"; }
else { addr = value inetAddr; port = value inetPort; }
))
+2 -2
View File
@@ -29,7 +29,7 @@ with lib; let
options = {
path = mkOption {
type = path;
default = "/var/run/postgrey.sock";
default = "/run/postgrey.sock";
description = "Path of the unix socket";
};
@@ -53,7 +53,7 @@ in {
socket = mkOption {
type = socket;
default = {
path = "/var/run/postgrey.sock";
path = "/run/postgrey.sock";
mode = "0777";
};
example = {