How to start automatically caddy as soon as Android starts #4105
Replies: 3 comments 8 replies
-
it does not work. Can you help me again ? thanks. This is the script that I need to run at boot :
as soon as Android boot,that script is not executed. Probably because I should run it with sudo. |
Beta Was this translation helpful? Give feedback.
-
I've saved the script below inside the directory /data/data/com.termux/files/home/.termux/boot :
and I did :
the script is not executed at all as soon as Android starts. But it works great if I run it in this way :
where is the problem now ? |
Beta Was this translation helpful? Give feedback.
-
Hello.
Is there a method to start automatically a command based on caddy as soon as Android (14) starts ? At the moment I need to start termux and then I should write the command :
sudo caddy run -c /data/Caddyfile
and this is uncomfortable. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions