Skip to content

Commit

Permalink
Add statsd argument to example tcp2upd systemd service file
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Dec 13, 2023
1 parent 08d604f commit 3f608a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcp2udp.service
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LimitNOFILE=16384
# Uncomment this to have the logs not contain the IPs of the peers using this service
#Environment=REDACT_LOGS=1
Environment=RUST_LOG=debug
ExecStart=/usr/local/bin/tcp2udp --threads=2 --tcp-listen 0.0.0.0:443 --udp-bind=127.0.0.1 --udp-forward 127.0.0.1:51820 --tcp-recv-timeout=130 --nodelay
ExecStart=/usr/local/bin/tcp2udp --threads=2 --statsd-host 127.0.0.1:8125 --tcp-listen 0.0.0.0:443 --udp-bind=127.0.0.1 --udp-forward 127.0.0.1:51820 --tcp-recv-timeout=130 --nodelay

Restart=always
RestartSec=2
Expand Down

0 comments on commit 3f608a9

Please sign in to comment.