Merge pull request #1186 from jc21/use-certbot-from-path

Use the certbot command from the PATH variable
This commit is contained in:
jc21 2021-06-19 10:24:21 +10:00 committed by GitHub
commit 2812889d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ const debug_mode = process.env.NODE_ENV !== 'production' || !!process.env.
const le_staging = process.env.NODE_ENV !== 'production'; const le_staging = process.env.NODE_ENV !== 'production';
const internalNginx = require('./nginx'); const internalNginx = require('./nginx');
const internalHost = require('./host'); const internalHost = require('./host');
const certbot_command = '/opt/certbot/bin/certbot'; const certbot_command = 'certbot';
const le_config = '/etc/letsencrypt.ini'; const le_config = '/etc/letsencrypt.ini';
const dns_plugins = require('../global/certbot-dns-plugins'); const dns_plugins = require('../global/certbot-dns-plugins');