diff --git a/.gitignore b/.gitignore index e7f4e38..56a89ae 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ acme-dns.log .vagrant coverage.out .idea/ +config/config.cfg diff --git a/README.md b/README.md index 57efe7c..a5daa13 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ go build 3) Move the built acme-dns binary to a directory in your $PATH, for example: `sudo mv acme-dns /usr/local/bin` -4) Edit config.cfg to suit your needs (see [configuration](#configuration)). `acme-dns` will read the configuration file from `/etc/acme-dns/config.cfg` or `./config.cfg`, or a location specified with the `-c` flag. +4) Copy config/config.cfg.example to config/config.cfg. Edit config/config.cfg to suit your needs (see [configuration](#configuration)). `acme-dns` will read the configuration file from `/etc/acme-dns/config.cfg` or `./config.cfg`, or a location specified with the `-c` flag. 5) If your system has systemd, you can optionally install acme-dns as a service so that it will start on boot and be tracked by systemd. This also allows us to add the `CAP_NET_BIND_SERVICE` capability so that acme-dns can be run by a user other than root. diff --git a/config.cfg b/config/config.cfg.example similarity index 100% rename from config.cfg rename to config/config.cfg.example