Use the certbot command from the PATH variable

This commit is contained in:
chaptergy 2021-06-18 09:22:42 +02:00
parent c807b59fb4
commit 3f1415dad1
No known key found for this signature in database
GPG Key ID: BDFB615E550409E7

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 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');