Termux:Boot

4.4
103 reviews
5K+
Downloads
Content rating
Everyone
Screenshot image
Screenshot image

About this app

The Termux:Boot add-on provides functionality to run scripts in Termux when the device boots up. Note that this is an add-on that requires the base Termux app to be installed.

Usage:

- Start the Termux:Boot app once by clicking on its launcher icon. This allows the app to be run at boot.
- Create the ~/.config/termux/boot/ directory.
- Put scripts you want to execute inside the ~/.config/termux/boot/ directory.
- If there are multiple files, they will be executed in a sorted order.
- Note that you may want to run termux-wake-lock as first thing if you want to ensure that the device is prevented from sleeping.

Example:
To start an sshd server and prevent the device from sleeping at boot, create a file at ~/.config/termux/boot/start-sshd containing the single line:

sshd

Join the Termux community:
https://termux.com/community

Report issues:
https://github.com/termux/termux-boot/issues
Updated on
Jun 7, 2024

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection

Ratings and reviews

4.5
97 reviews
Richard Mace
June 3, 2024
I have been using this app since it's initial release and can confirm it does what it says 'on the tin'. The only issue I have is that the termux-wait-lock does not seem to keep the tasks running permanently. I start sshd and a reverse tunnel ssh task on startup, these both cease overnight in spite of termux-wait-lock. Would be great if this issue could be fixed.. Edit: the issue is resolved.
32 people found this review helpful
Did you find this helpful?
A Google user
May 23, 2019
Termux is a great program. But when I attempt "mkdir ~/.termux/boot", it just gives me a directory not found error. Where should the boot folder be located within the full Termux App environment? Should it be in the root com.termux? or the home or usr directory?
54 people found this review helpful
Did you find this helpful?
A Google user
January 20, 2020
5 stars for actually having a functional on boot that works. 1 star for charging that much for it. Average..3 stars. Something to spend useless play dollars on.
23 people found this review helpful
Did you find this helpful?

What's new

Stability improvements and instruction tweaks.