Use a letsencrypt script instead of a service to initiate let's encrypt certificate generation

This commit is contained in:
Kevin MacMartin 2018-03-18 23:40:24 -04:00
parent 3026569f18
commit 7b8b75c427
2 changed files with 3 additions and 6 deletions

3
root/letsencrypt.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
/usr/bin/certbot certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD --webroot -w /srv/http/REPLACEME.TLD/public -d REPLACEME.TLD,www.REPLACEME.tld,mail.REPLACEME.tld

View File

@ -1,6 +0,0 @@
[Unit]
Description=Letsencrypt manual renewal
[Service]
Type=oneshot
ExecStart=/usr/bin/certbot certonly --agree-tos --renew-by-default --email REPLACEME@REPLACEME.TLD --webroot -w /srv/http/REPLACEME.TLD/public -d REPLACEME.TLD,mail.REPLACEME.tld