z: process manager

Updated at: 2024-07-20

Context

Old friends know that joker is an ultra-minimalist process management tool. It is not CS architecture, no dependencies, and no need to run a background process in advance. Meanwhile, jinbe can easily manage startup commands.

Recently, I am planning to replace jinbe. Thus, z was born, a name inspired by Xian Zhen. It possesses the functions of both joker and jinbe, along with optimizations for some special scenarios. However. The system requires an IPv6 stack.

Install

nami install z

Start z daemon

sudo or root required

z start

Usage

add a command

z brook server -l :9999 -p hello

Env

As you know, usually when the system just boots up, some environment variables do not exist, such as HOME, and the PATH variable is also relatively concise, and your command may depend on these environment variables, then you can use z to set.

For example, set HOME

z e HOME /root

For example, set PATH to current PATH

z e PATH $PATH

Network

As you know, usually when the system just boots up, the network may not be ready yet, don't worry, z will run all your commands after the network is ready.

More

z help