mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-06 00:01:06 +00:00
luci-app-ssr-plus: fix max open file
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user