Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created July 8, 2016 17:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstufft/65424ea77972dfbd07036ff678d8d6a7 to your computer and use it in GitHub Desktop.
Save dstufft/65424ea77972dfbd07036ff678d8d6a7 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
DOMAINS=""
while read d; do
DOMAINS="$DOMAINS -d $d"
done < /etc/letsencrypt/domains
letsencrypt certonly \
-n --agree-tos --email donald@stufft.io --webroot -w /var/www/letsencrypt \
--expand \
$DOMAINS
caremad.io
www.caremad.io
s.caremad.io
irc.caremad.io
[Unit]
Description=SSL Certificates
[Path]
PathChanged=/etc/letsencrypt/live/caremad.io/fullchain.pem
PathChanged=/etc/letsencrypt/live/caremad.io/privkey.pem
[Install]
WantedBy=multi-user.target
[Unit]
Description=SSL Certificates
[Service]
Type=oneshot
ExecStart=/bin/systemctl reload nginx
@Cybercoder99
Copy link

So if the 127.0.0.16 is doing illegal activities then the warrent should be brought against the who group? Or do they give up the real name of the people in Va?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment