Giter Site home page Giter Site logo

holyghost's Introduction

Holy Ghost

(a fork of Jesus by deoxxa)

Resurrect processes if they die.

Overview

Holy Ghost is a simple-ish process management tool. It's designed to be very light, while still providing functions enough to be automated if necessary. To that end, it only runs a single process to monitor all your stuff. It can be exposed via a unix socket (default) or an actual network interface for automation.

Installation

Available via npm:

npm

$ npm install holyghost -g

Or via git:

$ npm install git://github.com/whiskers75/holyghost.git -g

Usage

To start a monitoring server

❯ holyghost listen [log]

Where log is a file location for logging. If not supplied, logging will go to stdout by default. Note that listen does not daemonise the process. You should use daemon in place of listen to do that.

Example:

❯ holyghost listen

OR

❯ holyghost listen ~/.jesus/jesus.log

OR

❯ holyghost daemon ~/.jesus/jesus.log

To start a process

❯ holyghost start <id> <command> [arguments]

id is a string. It tells Jesus how to identify your process to you. The command and argument bits are basically just the rest of your command.

Example:

❯ holyghost start nc.1 nc -l -p 8001

To stop a process

❯ holyghost stop <id>

Pretty simple. Does what it says on the tin.

To stop all processes

❯ holyghost stopall

Stops everything that's running.

To restart a process

❯ holyghost restart <id>

Same as stop for the most part. Self-explanatory.

To restart all processes

❯ holyghost restartall

Much the same as stopall, but does a restart instead.

To list processes

❯ holyghost list

This'll give you a nice list of processes that are running, and some limited statistics.

License

3-clause BSD. A copy is included with the source.

Contact

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.