Use a letsencrypt script instead of a service to initiate let's encrypt certificate generation
This commit is contained in:
parent
3026569f18
commit
7b8b75c427
2 changed files with 3 additions and 6 deletions
3
root/letsencrypt.sh
Executable file
3
root/letsencrypt.sh
Executable 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
|
|
@ -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
|
Loading…
Reference in a new issue