Termux_Boot Autostart Program Fixes

autostart
stub
termux
This article addresses the compatibility issues of Termux:Boot with Android 10 and above, proposing the use of absolute paths as a solution. The content also highlights some popular applications of Termux, including maintaining wakelock, starting SSHD or crond services, and running non-blocking applications like nginx.
Published

August 6, 2022


Termux:Boot Autostart Program Fixes

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.