add config.cfg example file

This commit is contained in:
Felix Wong
2021-03-24 09:21:00 +00:00
parent 68bb6ab654
commit 7e755f2b57
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ acme-dns.log
.vagrant
coverage.out
.idea/
config/config.cfg

View File

@ -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.