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" ];
|
||||
in
|
||||
if value inetAddr == null
|
||||
then { path = "/var/run/postgrey.sock"; }
|
||||
then { path = "/run/postgrey.sock"; }
|
||||
else { addr = value inetAddr; port = value inetPort; }
|
||||
))
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue