Total Pageviews

Wednesday 8 July 2020

Joker,把你的linux vps上的前台程序转变为以daemon方式运行


Joker can turn binary program into daemon, such as c, golang, rust and other languages program.
build from Source:
$ make

Usage

joker: run command in background daemon

    run your command
 list [-a]   show running commands
 stop   stop a command
 log    view log of command
 clean       clean stopped commands
 help        show help
 version     show version

Example

$ joker brook server -l :9999 -p password

Why

There are many tools, such as systemd, supervisord, etc. But I need a simple, small, clean, no configuration tool. Joker does not depend on systemd.
----
我的补充说明
登陆linux vps.
git clone https://github.com/luckypoem/joker joker-by-luckypoem
cd joker-by-luckypoem

git submodule update --init --recursive

make
在当前目录下,就会生成可执行文件joker.
项目地址:https://github.com/luckypoem/joker

No comments:

Post a Comment