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 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

Ratings and reviews

4.5
97 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?
53 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?
Sankalp Bhatt
January 30, 2021
does not work.. I configured as per the provided example but still sshd does not runs after a boot on my samsumg s9.
24 people found this review helpful
Did you find this helpful?

What's new

Update documentation.