-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Allow Termux:Boot to run a Termux "session" instead of an invisible "task" #44
Comments
You probably want to do |
The only concern I have with this method is that it will reduce the write cycles of my android's internal memory. Say if a script goes out of control with the log writes without the user being aware. But this should help users keep some track of what's going on. |
I use it as well in combination with
Size-limited ramdisk:
I actually spawn multiple size-limited ramdisks at early-boot to overlay several /data/data/*/{tmp,cache} folders (browser cache etc) to save write cycles. Plus a large one for temporary stuff (downloads etc). |
Task#44 |
Interesting approach. But what if the phone is not rooted? |
Here's a bit of a fix I found for this:
in
Now, create a file in
Substitute |
When Termux:Boot runs a script and an unknown error occurs. There's no way for the user to see what the issue is on the log. From my experience outputting the command log to a file isn't reliable such as
node ~/path/to/file/index.js >> log.txt
.The script runs fine when I run it in Termux but the auto script with the exact same command says it's running but it really isn't.
The text was updated successfully, but these errors were encountered: