Add heartbeat Xray remote control and v121

This commit is contained in:
kzolotarev95 committed 2026-11-05 23:40:08 +04:00
1 parent e942ccfcd9
commit 6cf3ae7c0f
100 files changed
+1631 -218

No files matched your search

+10 -7
View File
@@ -64,13 +64,16 @@ start_service() {
return 0
fi
procd_open_instance xray
procd_set_param command /usr/sbin/owrt-remote run
procd_set_param env OWRT_REMOTE_SERVICE_LOG=1
procd_set_param respawn 3600 5 5
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
# A remote Xray stop must survive service reloads without stopping Heartbeat.
if [ ! -e /etc/owrt-remote/control/stopped ]; then
procd_open_instance xray
procd_set_param command /usr/sbin/owrt-remote run
procd_set_param env OWRT_REMOTE_SERVICE_LOG=1
procd_set_param respawn 3600 5 5
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
fi
procd_open_instance heartbeat
procd_set_param command /usr/sbin/owrt-remote heartbeat-loop