mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
nixos/gnunet: fix typo in PrivateTmp
parameter (#56343)
Systemd expects `PrivateTmp` and not `PrivateTemp` in the service configuration. I found this by chance while grepping through nixpkgs…
This commit is contained in:
parent
22f9405dc7
commit
64c60a813d
|
@ -130,7 +130,7 @@ in
|
|||
group = "gnunet";
|
||||
description = "GNUnet User";
|
||||
home = homeDir;
|
||||
createHome = true;
|
||||
createHome = true;
|
||||
uid = config.ids.uids.gnunet;
|
||||
};
|
||||
|
||||
|
@ -146,7 +146,7 @@ in
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ cfg.package pkgs.miniupnpc ];
|
||||
environment.TMPDIR = "/tmp";
|
||||
serviceConfig.PrivateTemp = true;
|
||||
serviceConfig.PrivateTmp = true;
|
||||
serviceConfig.ExecStart = "${cfg.package}/lib/gnunet/libexec/gnunet-service-arm -c ${configFile}";
|
||||
serviceConfig.User = "gnunet";
|
||||
serviceConfig.UMask = "0007";
|
||||
|
|
Loading…
Reference in a new issue