Add `--system-server-max-retry` argument in service mode (#511)
User reports that system server injection can still fail even when the daemon is started in service mode. Hence, we add argument `--system-server-max-retry=3` to address this problem.
This commit is contained in:
parent
4cec46a074
commit
e893bb0f28
|
|
@ -22,4 +22,4 @@ MODDIR=${0%/*}
|
||||||
cd "$MODDIR"
|
cd "$MODDIR"
|
||||||
|
|
||||||
# To avoid delaying the normal mount timing of zygote, we start LSPosed service daemon in late_start service mode instead of post-fs-data mode
|
# To avoid delaying the normal mount timing of zygote, we start LSPosed service daemon in late_start service mode instead of post-fs-data mode
|
||||||
unshare --propagation slave -m sh -c "$MODDIR/daemon $@&"
|
unshare --propagation slave -m sh -c "$MODDIR/daemon --system-server-max-retry=3 $@&"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue