[Unit] Description=RRPP UoT v2 relay (UDP over TCP decapsulator, localhost only) After=network.target [Service] Type=simple ExecStart=/usr/bin/python3 /opt/rrpp-uot-relay/uot_relay.py Restart=on-failure RestartSec=5 # 双保险:只许监听本机(脚本本身 bind 127.0.0.1) RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 [Install] WantedBy=multi-user.target