Snowflake Broker Deployment 22-07-22
This deployment is needed to fix #40161 (closed).
Deployment Script
sv stop snowflake-broker
cp /etc/service/snowflake-broker/run ./snowflake-broker-run-22-07-22-backup-$(date +%N)
install --owner root ./snowflake-broker-run-22-07-22-candidcate /etc/service/snowflake-broker/run
sv start snowflake-broker
New Run File
#!/bin/sh -e
setcap 'cap_net_bind_service=+ep' /usr/local/bin/broker
export GOMAXPROCS=1
exec chpst -u snowflake-broker -o 32768 /usr/local/bin/broker --metrics-log /home/snowflake-broker/metrics.log --acme-hostnames snowflake-broker.bamsoftware.com,snowflake-broker.freehaven.net,snowflake-broker.torproject.net --acme-email dcf@torproject.org --acme-cert-cache /home/snowflake-broker/acme-cert-cache --bridge-list-path /home/snowflake-broker/bridge_lists.json --default-relay-pattern ^snowflake.torproject.net$ --allowed-relay-pattern ^snowflake.torproject.net$ -ip-count-log /home/snowflake-broker/metrics-ip-salted.jsonl -ip-count-interval 1h -ip-count-mask ****** 2>&1