I need help with running the caddy program using supervisor. Caddy runs without any problems when I run it from the terminal using
sudo caddy -conf="/home/myusername/Caddyfile
However, when I use the following supervisor script to run caddy; it fails to serve the website. The log shows that Caddy is asking for my email. Since supervisor is running it, I don’t know how to give it the email address. Caddy asked me for the email the first time I ran from the terminal (using sudo caddy). I gave it the email addresses at that time; and now it does not ask me for email when I run it from the terminal directly.
In short, how do I run Caddy using supervisor? Thank you.