Tools · Open source

Termux:Boot

Tarek Sander

Add-on for Termux allowing programs to be run at boot

Download

Opens the official F-Droid page

About Termux:Boot

This plugin for https://f-droid.org/packages/com.termux allows programs to be run at boot.

Instructions:

* Start the Termux:Boot app once by clicking on its launcher icon.

* This allow 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 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 the a file ~/.termux/boot/start-sshd containing the line:

termux-wake-lock && sshd

How to install Termux:Boot

  1. Tap Download — the app's official page on F-Droid opens.
  2. Install it with the F-Droid app (recommended, for automatic updates), or use the download button on that page.
  3. If Android asks, allow the F-Droid app or your browser to install apps, then tap Install.
  4. Open Termux:Boot from your app drawer.

More tools apps

More