From 3f608a92cbddb19d0d42d4adc072e36620a019c4 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 tcp2upd 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