uzbek-plus/b15/run/free-turn.openrc

11 lines
572 B
Text

#!/sbin/openrc-run
# B15: free-turn-proxy client (VK TURN relay) -> local UDP 127.0.0.1:9000 for wg0 (installed as /etc/init.d/free-turn).
# Config /etc/free-turn/ftc.env via /etc/free-turn/ftc-run.sh. Uplink is board traffic -> main -> wwan0 (not policy-routed).
description="free-turn-proxy client (WireGuard relay on 127.0.0.1:9000)"
supervisor=supervise-daemon
command=/etc/free-turn/ftc-run.sh
output_log=/run/free-turn.log
error_log=/run/free-turn.log
respawn_delay=10
respawn_max=0
depend() { need localmount; after aurora-modem aurora-router; before aurora-vpn; }