mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-07-09 07:17:55 +07:00
add config.cfg example file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ acme-dns.log
|
|||||||
.vagrant
|
.vagrant
|
||||||
coverage.out
|
coverage.out
|
||||||
.idea/
|
.idea/
|
||||||
|
config/config.cfg
|
||||||
|
@ -132,7 +132,7 @@ go build
|
|||||||
3) Move the built acme-dns binary to a directory in your $PATH, for example:
|
3) Move the built acme-dns binary to a directory in your $PATH, for example:
|
||||||
`sudo mv acme-dns /usr/local/bin`
|
`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.
|
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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user