Brook
Shiliew
Cheap
Zhi
Meeting
Nan
mitmproxy client
Network Activity Monitor
iOS Old App Downloader
SSH Terminal
Subtitle
菜根谭
Socks5 Configurator
IPvBar
File Link
Markdown Editor
IP
AI
nami
joker
brook
ipio
nico
z
zoro
hancock
mad
httpserver
google hosts
Updated at: 2024-07-20
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.
nami install z
start z daemon and add z into system boot. [this step requires root privileges] and [z requires your system to support the IPv6 stack]
z start
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
add a command
z brook server -l :9999 -p hello
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.
z - process manager
start start z daemon and add z into system boot [root and ipv6 stack required]
<command> <arg1> <arg2> <...> add and run command
a print all commands
s <id> stop a command
r <id> restart a command
d <id> delete a command
e <k> <v> add environment variable
e print all environment variables
<id> print stdout and stderr of command
z print stdout and stderr of z
stop stop z daemon