nixos/postgrey: /var/run -> /run
This commit is contained in:
parent
0438ad4712
commit
edd5c88086
2 changed files with 3 additions and 3 deletions
|
@ -208,7 +208,7 @@ with lib;
|
||||||
inetPort = [ "services" "postgrey" "inetPort" ];
|
inetPort = [ "services" "postgrey" "inetPort" ];
|
||||||
in
|
in
|
||||||
if value inetAddr == null
|
if value inetAddr == null
|
||||||
then { path = "/var/run/postgrey.sock"; }
|
then { path = "/run/postgrey.sock"; }
|
||||||
else { addr = value inetAddr; port = value inetPort; }
|
else { addr = value inetAddr; port = value inetPort; }
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ with lib; let
|
||||||
options = {
|
options = {
|
||||||
path = mkOption {
|
path = mkOption {
|
||||||
type = path;
|
type = path;
|
||||||
default = "/var/run/postgrey.sock";
|
default = "/run/postgrey.sock";
|
||||||
description = "Path of the unix socket";
|
description = "Path of the unix socket";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ in {
|
||||||
socket = mkOption {
|
socket = mkOption {
|
||||||
type = socket;
|
type = socket;
|
||||||
default = {
|
default = {
|
||||||
path = "/var/run/postgrey.sock";
|
path = "/run/postgrey.sock";
|
||||||
mode = "0777";
|
mode = "0777";
|
||||||
};
|
};
|
||||||
example = {
|
example = {
|
||||||
|
|
Loading…
Reference in a new issue