diff options
-rw-r--r-- | acme_dns_tiny.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/acme_dns_tiny.py b/acme_dns_tiny.py index b8400e0..cf7d636 100644 --- a/acme_dns_tiny.py +++ b/acme_dns_tiny.py @@ -9,10 +9,10 @@ please read through it. It's about 326 lines, 225 SLOC with no line exceeding 80cols. Usage: - acme_tiny_dns.py [--contact=MAIL]... [--quiet] [--verbose] + acme_dns_tiny.py [--contact=MAIL]... [--quiet] [--verbose] [--acme-directory=URL] [--ttl=SECONDS] (--account-key=PATH) (--csr=PATH) (--script=PATH) - acme_tiny_dns.py -h|--help + acme_dns_tiny.py -h|--help Options: @@ -25,7 +25,7 @@ Options: --ttl=SECONDS time before (re)try self check --script=PATH script to run to update the DNS server record -Called script usage: +Called script: Script is called with the following arguments: action zone challenge @@ -35,16 +35,16 @@ Script is called with the following arguments: action zone challenge Example: -acme_tiny_dns.py \\ - --account-key=./account.key \\ - --csr=./domain.csr \\ - --contact=contact@domain \\ - --ttl=300 \\ - --script=./update-dns-record > signed.crt +| path/to/ \\ +| --account-key=./account.key \\ +| --csr=./domain.csr \\ +| --contact=contact@domain \\ +| --ttl=300 \\ +| --script=./update-dns-record > signed.crt Example Crontab Renewal (once per month): -0 0 1 * * acme_tiny_dns.py --account-key /path/to/account.key \ +0 0 1 * * path/to/acme_dns_tiny.py --account-key /path/to/account.key \ --csr /path/to/domain.csr > /path/to/signed.crt \ 2>> /var/log/acme_tiny.log @@ -322,4 +322,4 @@ def main(args): if __name__ == "__main__": - main() + main(None) |