@node9/proxy 1.12.10 → 1.12.11
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/dist/cli.js +14 -0
- package/dist/cli.mjs +14 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17566,6 +17566,7 @@ init_core();
|
|
|
17566
17566
|
init_setup();
|
|
17567
17567
|
init_shields();
|
|
17568
17568
|
init_service();
|
|
17569
|
+
init_daemon_starter();
|
|
17569
17570
|
var DEFAULT_SHIELDS = ["bash-safe", "filesystem", "postgres"];
|
|
17570
17571
|
function fireTelemetryPing(agents) {
|
|
17571
17572
|
try {
|
|
@@ -17704,6 +17705,19 @@ function registerInitCommand(program2) {
|
|
|
17704
17705
|
} else {
|
|
17705
17706
|
console.log(import_chalk13.default.green(" \u2713 Daemon login service already installed"));
|
|
17706
17707
|
}
|
|
17708
|
+
if (!isTestingMode()) {
|
|
17709
|
+
process.stdout.write(import_chalk13.default.dim(" Starting daemon..."));
|
|
17710
|
+
const started = await autoStartDaemonAndWait(false);
|
|
17711
|
+
if (started) {
|
|
17712
|
+
process.stdout.write(
|
|
17713
|
+
"\r" + import_chalk13.default.green(" \u2713 Daemon started \u2014 protection is active") + "\n"
|
|
17714
|
+
);
|
|
17715
|
+
} else {
|
|
17716
|
+
process.stdout.write(
|
|
17717
|
+
"\r" + import_chalk13.default.dim(" Daemon will start on next login ") + "\n"
|
|
17718
|
+
);
|
|
17719
|
+
}
|
|
17720
|
+
}
|
|
17707
17721
|
console.log("");
|
|
17708
17722
|
}
|
|
17709
17723
|
{
|
package/dist/cli.mjs
CHANGED
|
@@ -17535,6 +17535,7 @@ init_core();
|
|
|
17535
17535
|
init_setup();
|
|
17536
17536
|
init_shields();
|
|
17537
17537
|
init_service();
|
|
17538
|
+
init_daemon_starter();
|
|
17538
17539
|
import chalk13 from "chalk";
|
|
17539
17540
|
import fs33 from "fs";
|
|
17540
17541
|
import path35 from "path";
|
|
@@ -17678,6 +17679,19 @@ function registerInitCommand(program2) {
|
|
|
17678
17679
|
} else {
|
|
17679
17680
|
console.log(chalk13.green(" \u2713 Daemon login service already installed"));
|
|
17680
17681
|
}
|
|
17682
|
+
if (!isTestingMode()) {
|
|
17683
|
+
process.stdout.write(chalk13.dim(" Starting daemon..."));
|
|
17684
|
+
const started = await autoStartDaemonAndWait(false);
|
|
17685
|
+
if (started) {
|
|
17686
|
+
process.stdout.write(
|
|
17687
|
+
"\r" + chalk13.green(" \u2713 Daemon started \u2014 protection is active") + "\n"
|
|
17688
|
+
);
|
|
17689
|
+
} else {
|
|
17690
|
+
process.stdout.write(
|
|
17691
|
+
"\r" + chalk13.dim(" Daemon will start on next login ") + "\n"
|
|
17692
|
+
);
|
|
17693
|
+
}
|
|
17694
|
+
}
|
|
17681
17695
|
console.log("");
|
|
17682
17696
|
}
|
|
17683
17697
|
{
|