summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2019-06-17 10:31:16 +0200
committervg <vgm+dev@devys.org>2019-06-17 10:31:16 +0200
commit17e9e9bf444abd67c1b57588136fc3358374ff2c (patch)
tree8a2a950319fd46a03363d8022eeea5a60f0603b3
parent5da47cd17f91c6264dd450c4a4b1431ddeb8ef2d (diff)
parent85aed5a012e21350f8f954da4a540167137a8142 (diff)
downloadacme-dns-tiny-17e9e9bf444abd67c1b57588136fc3358374ff2c.tar.gz
acme-dns-tiny-17e9e9bf444abd67c1b57588136fc3358374ff2c.tar.bz2
acme-dns-tiny-17e9e9bf444abd67c1b57588136fc3358374ff2c.zip
Merge branch 'master' of git:acme-dns-tiny
-rw-r--r--acme_dns_tiny.py22
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)