From e4e3789dadbe1a7a51fe77cd8dba6c47905f38b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 2 May 2010 04:38:45 +0000 Subject: [PATCH] Make privoxy run with uid=privoxy. Patch by Russell O'Connor, sent to nix-dev. svn path=/nixos/trunk/; revision=21551 --- modules/services/networking/privoxy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/networking/privoxy.nix b/modules/services/networking/privoxy.nix index eee020a1f0e1..a63a32996eb6 100644 --- a/modules/services/networking/privoxy.nix +++ b/modules/services/networking/privoxy.nix @@ -12,7 +12,7 @@ let modprobe = config.system.sbin.modprobe; - privoxyFlags = "--no-daemon ${privoxyCfg}"; + privoxyFlags = "--no-daemon --user ${privoxyUser} ${privoxyCfg}"; privoxyCfg = pkgs.writeText "privoxy.conf" '' listen-address ${config.services.privoxy.listenAddress}