Giter Club home page Giter Club logo

doorman's Introduction

DOORMAN

a Procfile runner / foreman clone for BASH

usage:

  $ doorman.sh [-h❘--help]
  $ doorman.sh [-v❘--version]
  $ doorman.sh [-p PROCFILE] [[-e ENVFILE] ꓺ] [-d PATH] [-f❘-w] [-r [MAXTRIES]] [-t [SECONDS]]

available options:

  • -p, --procfile=PROCFILE Specify an alternate Procfile to use instead of '$PATH/Procfile'.

  • -e, --env=ENVFILE Specify additional DotEnv ('.env') files to load after '$PATH/.env'.

  • -d, --directory=PATH Specify an alternate directory to use as the root directory, which will be used as the directory where commands in the Procfile will be executed, and where '.env' files will be searched for.
    The default root directory is the directory containing the Procfile.

  • -f, --fail-one Shut down when ANY process exits, terminating remaining processes.

  • -w, --wait-all Shut down only after ALL processes have exited. This is the default mode.

  • -r, --restart[=MAXTRIES] Restart processes which have exited, with an optional limit on the maximum tries.
    When the argument is present with the optional MAXTRIES parameter omitted, the value defaults to 0, which means no restart limit.
    Otherwise Doorman lets processes fail after running them MAXTRIES times. Without the --restart argument, each process runs only once.

  • -t, --timeout[=SECONDS] Set a shutdown timeout in seconds each process is given to terminate before being sent a KILL signal in the event of Doorman shutting down.
    When the argument is present with the optional SECONDS parameter omitted, the timeout defaults to 3 seconds. Without the --timeout argument, processes are KILLed immediately.

Contributing

Contributions, issues and feature requests are welcome.

Feel free to check issues page, if you want to contribute.

Author

Raziel Anarki

License

Copyright © 2020-2023 Raziel Anarki

This project is licensed under the MIT license.

doorman's People

Contributors

razielanarki avatar

Stargazers

 avatar  avatar

Watchers

 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.