1
0
Fork 1
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:
Andreas Rammhold 2019-02-25 15:53:36 +01:00 committed by xeji
parent 22f9405dc7
commit 64c60a813d

View file

@ -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";