This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This is an example DNS hook script which uses the Digital Ocean API to | |
| # update nameservers. The script waits until updates have propagated to all | |
| # nameservers listed for a zone. The script fails if this takes more than 60 | |
| # seconds by default; this timeout can be adjusted. | |
| # | |
| # Requirements: dig (bind-tools), jq | |
| # | |
| # The script is ready to use, but to use it you must create | |
| # /etc/default/acme-dns-do or /etc/conf.d/acme-dns-do and set the following options: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## | |
| # This script check whether the server's public IP has changed and updates an | |
| # A DNS record with the Digital Ocean API. | |
| # /etc/dodyndns configuration file: | |
| # SERVER_IP=127.0.0.1 | |
| # RECORD_ID= | |
| # | |
| # DYNDNS_DOMAIN_PREFIX=dyndns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Renew SSL certificates via Lets Encrypt using certbot-auto | |
| After=network.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/local/bin/certbot-auto renew |
OlderNewer