Skip to content

Commit 2812889

Browse files
authored
Merge pull request #1186 from jc21/use-certbot-from-path
Use the certbot command from the PATH variable
2 parents c807b59 + 3f1415d commit 2812889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/certificate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const debug_mode = process.env.NODE_ENV !== 'production' || !!process.env.
1111
const le_staging = process.env.NODE_ENV !== 'production';
1212
const internalNginx = require('./nginx');
1313
const internalHost = require('./host');
14-
const certbot_command = '/opt/certbot/bin/certbot';
14+
const certbot_command = 'certbot';
1515
const le_config = '/etc/letsencrypt.ini';
1616
const dns_plugins = require('../global/certbot-dns-plugins');
1717

0 commit comments

Comments
 (0)