job_noam
(Noam)
1
I’m type this:
caddy environ
And the results is:
caddy.AppDataDir=/home/ubuntu/.local/share/caddy
caddy.AppConfigDir=/home/ubuntu/.config/caddy
When I’m doing:
cd /home/ubuntu/.local/share/caddy
I’m getting:
-bash: cd: /home/ubuntu/.local/share/caddy: No such file or directory
Where can I see the DATA folder of Caddy?
Thanks
That’s the environment of Caddy if it were to run as your ubuntu
user.
Caddy when running as a systemd service (as we know from your other topic) runs as the caddy
user. The $HOME
for that user is /var/lib/caddy
.
Look at Caddy’s logs from the systemd service. The environment is printed right when Caddy starts up, because the run command has the --environ
flag.
1 Like
system
(system)
Closed
3
This topic was automatically closed after 30 days. New replies are no longer allowed.