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
| { | |
| # https://caddyserver.com/docs/caddyfile/options#email | |
| email myemail@domain.com | |
| } | |
| (tls_config) { | |
| tls { | |
| dns digitalocean {env.DIGITAL_OCEAN_DNS_API_TOKEN} | |
| # If you are running a DNS server on your network, controlling this domain, Caddy will resolve your DNS server to that internal server, and place the TXT entry there. |
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
| #!python3 | |
| import os | |
| import argparse | |
| import time | |
| parser = argparse.ArgumentParser( | |
| prog='wait-until-done', | |
| description='Waits until a process has completed. Usage like "python3 wait-until-done 1234 && do-next-command". Use "ps aux" to get the Process ID you are looking for.') | |
| parser.add_argument('pid') |
OlderNewer