diff --git a/root/letsencrypt.sh b/root/letsencrypt.sh new file mode 100755 index 0000000..c55e4f8 --- /dev/null +++ b/root/letsencrypt.sh @@ -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 diff --git a/systemd/system/letsencrypt.service b/systemd/system/letsencrypt.service deleted file mode 100644 index 3f2c25c..0000000 --- a/systemd/system/letsencrypt.service +++ /dev/null @@ -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