mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix
This commit is contained in:
parent
d37db6fa15
commit
dac82f7277
1 changed files with 2 additions and 2 deletions
|
@ -56,13 +56,13 @@ start_instance() {
|
||||||
keyfile /tmp/${PROG_NAME}-${1}.key \
|
keyfile /tmp/${PROG_NAME}-${1}.key \
|
||||||
${port:+port "$port"} \
|
${port:+port "$port"} \
|
||||||
${host:+host "$host"} \
|
${host:+host "$host"} \
|
||||||
${dev:+dev "$dev"}
|
${dev:+dev "$dev"}
|
||||||
|
|
||||||
[ "${listener}" = "1" ] && procd_append_param command listener
|
[ "${listener}" = "1" ] && procd_append_param command listener
|
||||||
[ "${mptcp}" = "1" ] && procd_append_param command mptcp
|
[ "${mptcp}" = "1" ] && procd_append_param command mptcp
|
||||||
[ "${chacha20}" = "1" ] && procd_append_param command chacha20
|
[ "${chacha20}" = "1" ] && procd_append_param command chacha20
|
||||||
|
|
||||||
proc_append_param command \
|
procd_append_param command \
|
||||||
retry count -1 const 5000000 \
|
retry count -1 const 5000000 \
|
||||||
timeout 5000 \
|
timeout 5000 \
|
||||||
keepalive count 3 idle 10 interval 1
|
keepalive count 3 idle 10 interval 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue