From 3f1415dad13ad61ec3a77d13a5a9b64b85e4758c Mon Sep 17 00:00:00 2001 From: chaptergy Date: Fri, 18 Jun 2021 09:22:42 +0200 Subject: [PATCH] Use the certbot command from the PATH variable --- backend/internal/certificate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/certificate.js b/backend/internal/certificate.js index c887e68..17130c2 100644 --- a/backend/internal/certificate.js +++ b/backend/internal/certificate.js @@ -11,7 +11,7 @@ const debug_mode = process.env.NODE_ENV !== 'production' || !!process.env. const le_staging = process.env.NODE_ENV !== 'production'; const internalNginx = require('./nginx'); const internalHost = require('./host'); -const certbot_command = '/opt/certbot/bin/certbot'; +const certbot_command = 'certbot'; const le_config = '/etc/letsencrypt.ini'; const dns_plugins = require('../global/certbot-dns-plugins');