termux/termux-boot

use it to enhance termux-service

cxyzzz opened this issue · 2 comments

Feature description

The Termux:Boot plugin can run scripts after phone boot complete. Is there a way to use Termux:Boot initialize termux-service? Then the termux-service can create a services run after phone boot complete.

If you are using bash you can use

#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
. $PREFIX/etc/profile

See wiki: https://wiki.termux.com/wiki/Termux:Boot

If you are using bash you can use

#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
. $PREFIX/etc/profile

See wiki: https://wiki.termux.com/wiki/Termux:Boot

Thanks