Explorar o código

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

Use the certbot command from the PATH variable
jc21 %!s(int64=4) %!d(string=hai) anos
pai
achega
2812889d61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');