Ver Fonte

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

Use the certbot command from the PATH variable
jc21 há 4 anos atrás
pai
commit
2812889d61
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      backend/internal/certificate.js

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