From d0405fd1d83ca2b802017725cc1ad0206a439d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Wed, 13 Dec 2023 15:31:54 +0100 Subject: [PATCH] Add statsd argument to example tcp2udp systemd service file --- tcp2udp.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcp2udp.service b/tcp2udp.service index 279c242..4915bc6 100644 --- a/tcp2udp.service +++ b/tcp2udp.service @@ -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