You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to generate the help message before the program attempts to access /etc/acmedns. Even better, tell the user that the directory does not exist, which means that acme-dns needs to be configured before using acme-dns-client.
Here is a possible addition to the docs: If acme-dns-client is run under sudo, another issue presents. Because sudo filters out environment variables such as GOPATH by default, and changes the default GOPATH to /root/go/bin/, the first time acme-dns-client is run, it must be invoked via its fully qualified path, like this:
The first time
acme-dns-client
is run, it must be run as root, or the following error will appear unless the user knew to create/etc/acmedns
:It would be good to generate the help message before the program attempts to access
/etc/acmedns
. Even better, tell the user that the directory does not exist, which means thatacme-dns
needs to be configured before usingacme-dns-client
.Here is a possible addition to the docs: If
acme-dns-client
is run undersudo
, another issue presents. Becausesudo
filters out environment variables such asGOPATH
by default, and changes the defaultGOPATH
to/root/go/bin/
, the first timeacme-dns-client
is run, it must be invoked via its fully qualified path, like this:The text was updated successfully, but these errors were encountered: