Code Monkey home page Code Monkey logo

wizard's Introduction

wizard

A light-weight process bootstrap to manage a process

Get Started

NAME:
   wizard - The awesome process manager

USAGE:
   wizard [global options] command [command options] [arguments...]

COMMANDS:
   start    Launch the process
   stop     Stop the running process
   status   Check status of the process
   restart  Restart the process
   daemon   Wizard daemon process to watch specified processes
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -c value, --config value, --conf value  wizard configuration file (default: ".wiz")
   --help, -h                              show help (default: false)

Configuration

Default config file .wiz, to specify a config file wizard -c app.wiz start/stop/restart/status

Sample configuration

[main]
dir = .
log = app.log
pid = app.pid
cmd = server-run -c 1 -s 2

[env]
var1=value1
var2=value2

Daemon

Wizard can start a daemon process to watch specified processes in ~/.wiz

Sampe ~/.wiz

[main]
cmd = wizard daemon

[daemon]
~/app1
~/app2/dir2
~/app3/.wiz

Sample ~/app3/.wiz

cmd = server-run -s -c
no_daemon = false  // set true to skip daemon watching
interval = 1000    // specify daemon watch interval(ms)

wizard's People

Contributors

devfans avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.