according to this, termux:boot on android 10 and above will not work. instead, change all executables with relative paths in init scripts to their absolute paths. if any referred executable is a script file containing other executable with non-absolute paths(except for those built-in programs like am), change that too.
mostly we hold wakelock, start sshd, crond or nginx and other non-blocking, non-interactive apps at start.