termux / termux-boot

Termux add-on app allowing programs to be run at boot.
https://f-droid.org/en/packages/com.termux.boot
969 stars 223 forks source link

Created service no autotun #235

Open id8547854 opened 2 weeks ago

id8547854 commented 2 weeks ago

No autorun service after reboot ( if no login in bash once )

Use ssh local server, connect other phone port xray local network.

Example. exec xray -c config.json run

sylirre commented 2 weeks ago

Try to supply absolute path to your config.json file. Also make sure to run termux-wake-lock before exec line.

Also I would suggest to try running your script via Termux:Widget to see whether it can start without interactive shell session at all.

id8547854 commented 1 week ago

fix. add in script autorun - tmux new-session -d