How to start automatically caddy as soon as Android starts

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.

isn’t Termux:Boot | F-Droid - Free and Open Source Android App Repository designed for this?