@zixt/host 0.0.3 → 0.0.5
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/README.md +16 -4
- package/dist/index.js +2613 -2383
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,10 +26,22 @@ asleep, signed out, or offline.
|
|
|
26
26
|
|
|
27
27
|
## Options
|
|
28
28
|
|
|
29
|
-
| Environment variable
|
|
30
|
-
|
|
|
31
|
-
| `ZIXT_HOST_TOKEN`
|
|
32
|
-
| `ZIXT_CLOUD_URL`
|
|
29
|
+
| Environment variable | Meaning |
|
|
30
|
+
| ---------------------- | ------------------------------------------------------------- |
|
|
31
|
+
| `ZIXT_HOST_TOKEN` | The one-time pairing code from the Machines page. Required. |
|
|
32
|
+
| `ZIXT_CLOUD_URL` | The Zixt gateway to connect to. Defaults to the cloud. |
|
|
33
|
+
| `ZIXT_HOST_UPDATE` | `off` pins this Machine to the version it is running. |
|
|
34
|
+
| `ZIXT_HOST_UPDATE_URL` | A registry mirror to check for releases instead of npmjs.org. |
|
|
35
|
+
|
|
36
|
+
## Staying current
|
|
37
|
+
|
|
38
|
+
The Host keeps itself up to date. It checks for a newer published release,
|
|
39
|
+
and when it finds one it stops the work it is doing the same way Ctrl+C would
|
|
40
|
+
— every run is unwound, and Zixt re-dispatches that work with its session
|
|
41
|
+
resumed — then relaunches on the new version. Nothing to schedule and nothing
|
|
42
|
+
to restart by hand.
|
|
43
|
+
|
|
44
|
+
Set `ZIXT_HOST_UPDATE=off` to stay on the version you started.
|
|
33
45
|
|
|
34
46
|
Run `zixt-host --help` for logging flags.
|
|
35
47
|
|