@bprotsyk/aso-core 2.0.42 → 2.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utils/server-util.js
CHANGED
|
@@ -161,7 +161,7 @@ class ServerUtil {
|
|
|
161
161
|
}
|
|
162
162
|
// install certbot
|
|
163
163
|
async setupCertbot() {
|
|
164
|
-
await this.
|
|
164
|
+
await this.ssh.execCommand(`apt-get install -y certbot python3-certbot-nginx;`);
|
|
165
165
|
return true;
|
|
166
166
|
}
|
|
167
167
|
// creating a SSL certificate
|
package/package.json
CHANGED
package/src/utils/server-util.ts
CHANGED
|
@@ -194,7 +194,7 @@ export class ServerUtil {
|
|
|
194
194
|
|
|
195
195
|
// install certbot
|
|
196
196
|
async setupCertbot(): Promise<boolean> {
|
|
197
|
-
await this.
|
|
197
|
+
await this.ssh.execCommand(`apt-get install -y certbot python3-certbot-nginx;`);
|
|
198
198
|
|
|
199
199
|
return true;
|
|
200
200
|
}
|
|
@@ -349,6 +349,8 @@ export class ServerUtil {
|
|
|
349
349
|
async disconnectSSH(): Promise<void> {
|
|
350
350
|
this.ssh.dispose();
|
|
351
351
|
}
|
|
352
|
+
|
|
353
|
+
|
|
352
354
|
}
|
|
353
355
|
|
|
354
356
|
|