Add geoip databases for snowflake proxy country metrics
NixOS doesn't have /usr/share/tor/geoip — point the proxy at pkgs.tor.geoip derivation paths instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
508f7a957d
commit
86226c94db
1 changed files with 6 additions and 1 deletions
|
|
@ -499,7 +499,12 @@ in
|
|||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.snowflake}/bin/proxy -metrics -metrics-address 0.0.0.0";
|
||||
ExecStart = toString [
|
||||
"${pkgs.snowflake}/bin/proxy"
|
||||
"-metrics" "-metrics-address" "0.0.0.0"
|
||||
"-geoipdb" "${pkgs.tor.geoip}/share/tor/geoip"
|
||||
"-geoip6db" "${pkgs.tor.geoip}/share/tor/geoip6"
|
||||
];
|
||||
DynamicUser = true;
|
||||
Restart = "always";
|
||||
RestartSec = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue