Closed snowwolf007cn closed 7 months ago
@snowwolf007cn 去找openwrt()
巧了,我也是owr2203.5,这是我自己在用的:/etc/init.d/xray
#!/bin/sh /etc/rc.common START=80 ROOT=/etc/config/xray SERVICE_WRITE_PID=1 SERVICE_DAEMONIZE=1 start() { echo "start xray..." ulimit -SHn 8192 service_start $ROOT/xray run -c $ROOT/config.json echo "" > /var/log/error.log echo "" > /var/log/access.log } stop() { echo "stop xray." service_stop $ROOT/xray }
/etc/config/xray Set Enabled to 1 (installed as 0) I guess the developer want user to test configuration using command-line before start as a service.
型号 | Netgear WNDR4300 架构 | Atheros AR9344 rev 2 目标平台 | ath79/nand 固件版本 | OpenWrt 22.03.5 r20134-5f15225c1e
Xray-core版本:1.8.3
安装以后,service里有xray,但是没有自启动,service start xray也没法启动