Add statsd argument to example tcp2udp systemd service file

This commit is contained in:
Linus Färnstrand 2023-12-13 15:31:54 +01:00
parent 29ac80fe5a
commit d0405fd1d8

View File

@ -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