From d752b7a3fc165e21e35cf1b7e366a6e384fcfde2 Mon Sep 17 00:00:00 2001 From: winds365 Date: Sun, 14 Sep 2025 22:12:33 +0800 Subject: [PATCH] Update xray --- alpinelinux/init.d/xray | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/alpinelinux/init.d/xray b/alpinelinux/init.d/xray index aece55b..780ac3b 100644 --- a/alpinelinux/init.d/xray +++ b/alpinelinux/init.d/xray @@ -9,7 +9,6 @@ respawn_max=2 respawn_period=600 pidfile="/run/${RC_SVCNAME}.pid" -rc_ulimit="-n 1024000 -u 1024000" capabilities="^cap_net_bind_service,^cap_net_admin,^cap_net_raw" extra_commands="checkconfig" @@ -28,7 +27,7 @@ depend() { checkconfig() { export $env - $command $command_args -test + su ${command_user%:*} -s /bin/sh -c "$command $command_args -test" eend $? }