[Nix-dev] Patch for privoxy

Lluís Batlle i Rossell viriketo at gmail.com
Sun May 2 06:39:01 CEST 2010


On Sat, May 01, 2010 at 06:07:07PM -0400, roconnor at theorem.ca wrote:
> Here is a patch that you can apply to make the privoxy service
> actually run as the privoxy user:
> 
> Index: modules/services/networking/privoxy.nix
> ===================================================================
> --- modules/services/networking/privoxy.nix     (revision 21548)
> +++ modules/services/networking/privoxy.nix     (working copy)
> @@ -12,7 +12,7 @@
> 
>    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}

Applied!
Thank you!



More information about the nix-dev mailing list