update_0.1

This commit is contained in:
2026-02-14 19:52:31 +04:00
commit 04af8cb006
4 changed files with 492 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/bin/sh /etc/rc.common
START=95
USE_PROCD=1
extra_command "update" "Download and refresh remote lists"
start_service() {
xray-manager start
procd_open_instance
procd_set_param command tail -f /dev/null
procd_set_param respawn
procd_close_instance
}
stop_service() {
xray-manager stop
}
reload_service() {
xray-manager reload
}
update() {
xray-manager update
}