Termux:Boot

4.3
96 reviews
5K+
Downloads
Content rating
Everyone
Screenshot image
Screenshot image

About this app

The Termux:Boot add-on provides functionality to run programs under Termux when the device boots up.

Usage:

- Start the Termux:Boot app once by clicking on its launcher icon. This allows the app to be run at boot.
- Create the ~/.termux/boot/ directory.
- Put scripts you want to execute inside the ~/.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 ~/.termux/boot/start-sshd containing the two lines:

termux-wake-lock
sshd

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

Report issues:
https://github.com/termux/termux-boot/issues
Updated on
Sep 21, 2019

Data safety

Developers can show information here about how their app collects and uses your data. Learn more about data safety
No information available
4.3
96 reviews
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?
46 people found this review helpful
Did you find this helpful?
A Google user
September 9, 2019
The script needs a shebang, and that is not written in the example. But after that it does work. The developer answered immediately. He should make sure that is clear for the next customer.
73 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.
20 people found this review helpful
Did you find this helpful?

What's new

Update documentation.