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

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen committed 2022-07-26 19:34:04 +08:00
1 parent bde00918ce
commit 4a8d04b2bd
1 file changed
+1 -1
@@ -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
}