I hereby claim:
- I am czechjiri on github.
- I am czechjiri (https://keybase.io/czechjiri) on keybase.
- I have a public key ASACq5_vCcvs6OfAcIuzbClI4oKCmHFERAMW6Ml2pNGdlgo
To claim this, I am signing this object:
certbot certonly --standalone \ | |
--non-interactive \ | |
--preferred-challenges tls-sni \ | |
--agree-tos \ | |
--email [email protected] \ | |
--domains vpn.mydomain.com \ | |
--pre-hook '/usr/local/openvpn_as/scripts/sacli stop' \ | |
--post-hook '/usr/local/openvpn_as/scripts/sacli --key "cs.priv_key" --value_file "/etc/letsencrypt/live/office.deep-labs.com/privkey.pem" ConfigPut && /usr/local/openvpn_as/scripts/sacli --key "cs.cert" --value_file "/etc/letsencrypt/live/office.deep-labs.com/cert.pem" ConfigPut && /usr/local/openvpn_as/scripts/sacli --key "cs.ca_bundle" --value_file "/etc/letsencrypt/live/office.deep-labs.com/fullchain.pem" ConfigPut && /usr/local/openvpn_as/scripts/sacli start' | |
I hereby claim:
To claim this, I am signing this object:
from datetime import datetime, timezone | |
print( datetime.now(timezone.utc).isoformat() ) | |
function pg_ready() | |
{ | |
waitTime=30 # keep trying for x seconds | |
n=0 | |
until [ $n -ge $waitTime ]; do | |
# please note pg_isready does not care about username/dbname | |
# you can add correct values if you want to avoid errors in PG log | |
pg_isready --host=$DB_HOST --port=$DB_PORT && break |