Make privoxy run with uid=privoxy.

Patch by Russell O'Connor, sent to nix-dev.


svn path=/nixos/trunk/; revision=21551
This commit is contained in:
Lluís Batlle i Rossell 2010-05-02 04:38:45 +00:00
parent b690751956
commit e4e3789dad

View File

@ -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}