OSDN Git Service
(root)
/
v2raya
/
v2raya-openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b19f3
)
v2raya: increase nofile limitation
xray-1.5.6
author
Tianling Shen
<cnsztl@immortalwrt.org>
Tue, 7 Jun 2022 15:46:05 +0000
(15:46 +0000)
committer
Tianling Shen
<cnsztl@immortalwrt.org>
Fri, 10 Jun 2022 19:21:26 +0000
(
03:21
+0800)
Fixes: #7
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
v2raya/files/v2raya.init
patch
|
blob
|
history
diff --git
a/v2raya/files/v2raya.init
b/v2raya/files/v2raya.init
index
5c7a0ec
..
a8295b6
100755
(executable)
--- a/
v2raya/files/v2raya.init
+++ b/
v2raya/files/v2raya.init
@@
-53,6
+53,7
@@
start_service() {
append_env_bool "config" "log_disable_timestamp"
procd_set_param limits core="unlimited"
+ procd_set_param limits nofile="1000000 1000000"
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1