You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zinit is a lightweight PID 1 replacement inspired by runit, written in Rust using Tokio for async I/O. It manages service startup, supervision, and lifecycle, ensuring configured services remain running and handling dependencies through a simple declarative interface.
3
+
ZOS Init is a lightweight PID 1 replacement inspired by runit, written in Rust using Tokio for async I/O. It manages service startup, supervision, and lifecycle, ensuring configured services remain running and handling dependencies through a simple declarative interface.
4
4
5
5
## What this is
6
6
7
-
Zinit is an init system and process supervisor designed for environments that need reliable service management without the complexity of traditional init systems. It runs as PID 1 or in container mode, monitors configured services, restarts them on failure, and respects dependency ordering during startup and shutdown. Zinit exposes both a Unix socket control interface and an HTTP proxy with a JSON-RPC 2.0 API.
7
+
ZOS Init is an init system and process supervisor designed for environments that need reliable service management without the complexity of traditional init systems. It runs as PID 1 or in container mode, monitors configured services, restarts them on failure, and respects dependency ordering during startup and shutdown. ZOS Init exposes both a Unix socket control interface and an HTTP proxy with a JSON-RPC 2.0 API.
8
8
9
9
## What this repository contains
10
10
@@ -18,11 +18,11 @@ Zinit is an init system and process supervisor designed for environments that ne
18
18
19
19
## Role in the stack
20
20
21
-
Zinit serves as the init system for ZOS / Zero-OS nodes and can also be used as a standalone process manager in containers or lightweight Linux systems. It is the layer that ensures system services (networking, storage, provisioning, and user workloads) are started in the correct order and kept healthy. External tools and clients — including the Zinit Client Rust library — can interact with it over its socket or HTTP APIs.
21
+
ZOS Init serves as the init system for ZOS / Zero-OS nodes and can also be used as a standalone process manager in containers or lightweight Linux systems. It is the layer that ensures system services (networking, storage, provisioning, and user workloads) are started in the correct order and kept healthy. External tools and clients — including the ZOS Init Client Rust library — can interact with it over its socket or HTTP APIs.
22
22
23
23
## ZOS / Zero-OS
24
24
25
-
ZOS, also known as Zero-OS, is the operating system layer used to run and manage nodes. It provides the low-level runtime environment for workloads, networking, storage, and automation. Zinit is the init system at the core of ZOS, responsible for bootstrapping and supervising all node services.
25
+
ZOS, also known as Zero-OS, is the operating system layer used to run and manage nodes. It provides the low-level runtime environment for workloads, networking, storage, and automation. ZOS Init is the init system at the core of ZOS, responsible for bootstrapping and supervising all node services.
Click [here](docs/installation.md) for more information on how to install Zinit.
44
+
Click [here](docs/installation.md) for more information on how to install ZOS Init.
45
45
46
46
## Usage
47
47
@@ -70,7 +70,7 @@ More information about all the available commands can be found [here](docs/cmd.m
70
70
71
71
### Service Configuration
72
72
73
-
Zinit uses YAML files for service configuration. Here's a basic example:
73
+
ZOS Init uses YAML files for service configuration. Here's a basic example:
74
74
75
75
```yaml
76
76
# Service configuration (e.g., /etc/zinit/myservice.yaml)
@@ -86,13 +86,13 @@ For more information on how to configure service files, see the [service file re
86
86
87
87
### JSON-RPC API
88
88
89
-
The HTTP proxy provides a JSON-RPC 2.0 API for interacting with Zinit. You can send JSON-RPC requests to the HTTP endpoint you provided to the proxy:
89
+
The HTTP proxy provides a JSON-RPC 2.0 API for interacting with ZOS Init. You can send JSON-RPC requests to the HTTP endpoint you provided to the proxy:
90
90
91
91
```bash
92
92
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"service_list","params":{}}' http://localhost:8080/
93
93
```
94
94
95
-
See the [OpenRPC specs](openrpc.json) for more information about available RPC calls to interact with Zinit.
95
+
See the [OpenRPC specs](openrpc.json) for more information about available RPC calls to interact with ZOS Init.
0 commit comments