luci-app-ssr-plus: fix max open file

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-07-26 19:34:04 +08:00 committed by sbwml
parent bc508cbae6
commit f34530bfcd

View File

@ -159,6 +159,7 @@ ln_start_bin() {
echolog "-----------end------------"
_exit 2
}
ulimit -n 1000000
${file_func:-echolog " - ${ln_name}"} "$@" >/dev/null 2>&1 &
}
@ -847,7 +848,6 @@ start() {
boot() {
echolog "boot"
mkdir -p /var/run /var/lock /var/log /tmp/dnsmasq.d $TMP_BIN_PATH $TMP_DNSMASQ_PATH
ulimit -n 65535
start
}