From a9ddf5a2b66709501a32c87df874992671ac3820 Mon Sep 17 00:00:00 2001 From: sup39 Date: Sat, 18 Jun 2022 02:35:39 +0900 Subject: [PATCH] change certbot path in .service from /usr/local/ to /usr/ --- certrenew.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certrenew.service b/certrenew.service index 440bca2..d395465 100644 --- a/certrenew.service +++ b/certrenew.service @@ -10,10 +10,10 @@ Type=simple # (3) check if the credentials file is correct ## cloudflare -#ExecStart=/usr/local/bin/certbot renew --non-interactive --agree-tos --preferred-challenges dns --authenticator dns-cloudflare --dns-cloudflare-credentials /etc/certbot/cloudflare.ini --dns-cloudflare-propagation-seconds 10 +#ExecStart=/usr/bin/certbot renew --non-interactive --agree-tos --preferred-challenges dns --authenticator dns-cloudflare --dns-cloudflare-credentials /etc/certbot/cloudflare.ini --dns-cloudflare-propagation-seconds 10 ## porkbun -#ExecStart=/usr/local/bin/certbot renew --non-interactive --agree-tos --preferred-challenges dns --authenticator dns-porkbun --dns-porkbun-credentials /etc/certbot/porkbun.ini --dns-porkbun-propagation-seconds 10 +#ExecStart=/usr/bin/certbot renew --non-interactive --agree-tos --preferred-challenges dns --authenticator dns-porkbun --dns-porkbun-credentials /etc/certbot/porkbun.ini --dns-porkbun-propagation-seconds 10 [Install] WantedBy=multi-user.target