pgrep -x xray-linux-amd64 never matched because the Linux kernel truncates process names to 15 chars (TASK_COMM_LEN), so the actual process name is "xray-linux-amd6". This caused panel detection to fail on 3x-ui servers, leading to config overwrite and port conflict. Fix: use pgrep -f "xray-linux" which matches the full command line.
320 KiB
320 KiB