Skip to content

Commit 3f1415d

Browse files
committed
Use the certbot command from the PATH variable
1 parent c807b59 commit 3f1415d

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)