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:
fcd1934
)
v2raya: fix procd service inactive
author
Tianling Shen
<cnsztl@immortalwrt.org>
Mon, 17 Oct 2022 13:13:07 +0000
(21:13 +0800)
committer
Tianling Shen
<cnsztl@immortalwrt.org>
Mon, 17 Oct 2022 13:13:07 +0000
(21:13 +0800)
Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.
Reported-by: Lvc Revincx <revincx233@gmail.com>
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
a8295b6
..
9c207f7
100755
(executable)
--- a/
v2raya/files/v2raya.init
+++ b/
v2raya/files/v2raya.init
@@
-34,7
+34,7
@@
append_env_bool() {
start_service() {
config_load "$CONF"
- is_enabled "config" "enabled" ||
exit
1
+ is_enabled "config" "enabled" ||
return
1
procd_open_instance "$CONF"
procd_set_param command "$PROG"